getusershell.3, getw.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-19 07:23:27 +02:00
parent b855c15eb4
commit c105dbb515
2 changed files with 14 additions and 4 deletions

View File

@ -48,7 +48,9 @@ Feature Test Macro Requirements for glibc (see
.BR getusershell (),
.BR setusershell (),
.BR endusershell ():
.RS 4
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
.RE
.ad b
.SH DESCRIPTION
The

View File

@ -39,12 +39,20 @@ Feature Test Macro Requirements for glibc (see
.sp
.BR gutw (),
.BR putw ():
.br
Since glibc 2.3.3: _SVID_SOURCE || _BSD_SOURCE ||
.ad l
.PD 0
.RS 4
.TP 4
Since glibc 2.3.3:
_SVID_SOURCE || _BSD_SOURCE ||
(_XOPEN_SOURCE && !(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600))
.br
Before glibc 2.3.3: _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
.TP
Before glibc 2.3.3:
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
_GNU_SOURCE
.RE
.PD
.ad
.SH DESCRIPTION
.BR getw ()
reads a word (that is, an \fIint\fP) from \fIstream\fP.