* Favor active voice over passive. * Favor imperative mood over declarative when making suggestions. * Parallelize language more rigorously. --- man/curs_in_wchstr.3x | 23 +++++++++-------------- man/curs_inchstr.3x | 22 ++++++++-------------- man/curs_instr.3x | 21 ++++++++------------- man/curs_inwstr.3x | 22 ++++++++-------------- 4 files changed, 33 insertions(+), 55 deletions(-)
diff --git a/man/curs_in_wchstr.3x b/man/curs_in_wchstr.3x index b5bec27db..aa796d33b 100644 --- a/man/curs_in_wchstr.3x +++ b/man/curs_in_wchstr.3x @@ -108,20 +108,15 @@ .SH NOTES may be implemented as macros. .PP Reading a line that overflows the array pointed to by -\fIwchstr\fP -with -\fBin_wchstr\fP, -\fBmvin_wchstr\fP, -\fBmvwin_wchstr\fP -or -\fBwin_wchstr\fP -causes undefined results. -Therefore, the use of -\fBin_wchnstr\fP, -\fBmvin_wchnstr\fP, -\fBmvwin_wchnstr\fP, or -\fBwin_wchnstr\fP -is recommended. +.I wchstr +and its variants causes undefined results. +Instead, +use the +.IR n -infixed +functions with a positive +.I n +argument no larger than the size of the buffer backing +.IR wchstr "." .SH PORTABILITY X/Open Curses Issue\ 4 describes these functions. It specifies no error conditions for them. diff --git a/man/curs_inchstr.3x b/man/curs_inchstr.3x index 70caa400e..83bc66d6b 100644 --- a/man/curs_inchstr.3x +++ b/man/curs_inchstr.3x @@ -137,20 +137,14 @@ .SH NOTES .PP Reading a line that overflows the array pointed to by .I chstr -with -.BR \%inchstr "," -.BR \%mvinchstr "," -.BR \%mvwinchstr "," -or -.B \%winchstr -causes undefined results. -Use of -.BR \%inchnstr "," -.BR \%mvinchnstr "," -.BR \%mvwinchnstr "," -or -.B \%winchnstr -is recommended instead. +and its variants causes undefined results. +Instead, +use the +.IR n -infixed +functions with a positive +.I n +argument no larger than the size of the buffer backing +.IR chstr "." .SH EXTENSIONS .BR \%inchnstr "," .BR \%winchnstr "," diff --git a/man/curs_instr.3x b/man/curs_instr.3x index eb9f240fc..bd33bc328 100644 --- a/man/curs_instr.3x +++ b/man/curs_instr.3x @@ -138,19 +138,14 @@ .SH NOTES Reading a line that overflows the array pointed to by .I str with -.BR \%instr "," -.BR \%winstr "," -.BR \%mvinstr "," -or -.B \%mvwinstr -causes undefined results. -Use of -.BR \%innstr "," -.BR \%winnstr "," -.BR \%mvinnstr "," -and -.B \%mvwinnstr -is recommended instead. +and its variants causes undefined results. +Instead, +use the +.IR n -infixed +functions with a positive +.I n +argument no larger than the size of the buffer backing +.IR str "." .SH EXTENSIONS .BR \%innstr "," .BR \%winnstr "," diff --git a/man/curs_inwstr.3x b/man/curs_inwstr.3x index 084ee5399..25e5e2096 100644 --- a/man/curs_inwstr.3x +++ b/man/curs_inwstr.3x @@ -153,20 +153,14 @@ .SH NOTES .PP Reading a line that overflows the array pointed to by .I wstr -with -.BR \%inwstr "," -.BR \%winwstr "," -.BR \%mvinwstr "," -or -.B \%mvwinwstr -causes undefined results. -Use of -.BR \%innwstr "," -.BR \%winnwstr "," -.BR \%mvinnwstr "," -and -.B \%mvwinnwstr -is recommended instead. +and its variants causes undefined results. +Instead, +use the +.IR n -infixed +functions with a positive +.I n +argument no larger than the size of the buffer backing +.IR wstr "." .SH EXTENSIONS .BR \%innwstr "," .BR \%winnwstr "," -- 2.30.2
signature.asc
Description: PGP signature
