curs_get_wstr 3x
-
+
@@ -141,22 +142,23 @@
wchar_t is a unsigned type. All of the vendors implement this using
wint_t, following the standard.
- X/Open Curses issue 7 is unclear regarding whether the terminating null
- wchar_t value is counted in the length parameter n. X/Open Curses is-
- sue 7 revised the corresponding description of wgetnstr to address this
- issue. The unrevised description of wget_nwstr can be interpreted ei-
- ther way. This implementation counts the terminator in the length.
+ X/Open Curses, Issue 7 (2009) is unclear regarding whether the termi-
+ nating nullwchar_t value is counted in the length parameter n. X/Open
+ Curses, Issue 7 revised the corresponding description of wgetnstr to
+ address this issue. The unrevised description of wget_nwstr can be in-
+ terpreted either way. This implementation counts the terminator in the
+ length.
- X/Open Curses does not specify what happens if the length n is nega-
+ X/Open Curses does not specify what happens if the length n is nega-
tive.
- o For analogy with wgetnstr, ncurses 6.2 uses a limit (based on
+ o For analogy with wgetnstr, ncurses 6.2 uses a limit (based on
LINE_MAX).
- o Some other implementations (such as Solaris xcurses) do the same,
+ o Some other implementations (such as Solaris xcurses) do the same,
while others (PDCurses) do not allow this.
- o NetBSD 7 curses imitates ncurses 6.1 in this regard, treating a -1
+ o NetBSD 7 curses imitates ncurses 6.1 in this regard, treating a -1
as an indefinite number of characters.