X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_get_wstr.3x;h=c869a2126238982d2323b1d150b6a401d18d69ea;hp=6c0d06331bef6c165cf33f2a822e01500d47464c;hb=8d8a3537cd58af7879c6e1921235daeed2b74926;hpb=30393be892025f03322b7907a04cc05cc08e8760 diff --git a/man/curs_get_wstr.3x b/man/curs_get_wstr.3x index 6c0d0633..c869a212 100644 --- a/man/curs_get_wstr.3x +++ b/man/curs_get_wstr.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 2002-2017,2018 Free Software Foundation, Inc. * +.\" Copyright (c) 2002-2018,2019 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_get_wstr.3x,v 1.16 2018/09/01 20:58:10 tom Exp $ +.\" $Id: curs_get_wstr.3x,v 1.18 2019/07/20 19:14:56 tom Exp $ .TH curs_get_wstr 3X "" .de bP .ie n .IP \(bu 4 @@ -189,10 +189,10 @@ The latter function \fIget_wch()\fP can return a negative value, while \fBwchar_t\fP is a unsigned type. All of the vendors implement this using \fBwint_t\fR, following the standard. .PP -X/Open Curses issue 7 is unclear regarding whether +X/Open Curses, Issue 7 (2009) is unclear regarding whether the terminating \fInull \fP\fBwchar_t\fP value is counted in the length parameter \fIn\fP. -X/Open Curses issue 7 revised the corresponding description +X/Open Curses, Issue 7 revised the corresponding description of \fBwgetnstr\fP to address this issue. The unrevised description of \fBwget_nwstr\fP can be interpreted either way. This implementation counts the terminator in the length.