OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / getw.3
index 12ba803..3b96923 100644 (file)
@@ -20,7 +20,7 @@
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" License.
-.TH GETW 3  2007-12-20 "GNU" "Linux Programmer's Manual"
+.TH GETW 3  2010-09-26 "GNU" "Linux Programmer's Manual"
 .SH NAME
 getw, putw \- input and output of words (ints)
 .SH SYNOPSIS
@@ -31,6 +31,29 @@ getw, putw \- input and output of words (ints)
 
 .BI "int putw(int " w ", FILE *" stream );
 .fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR getw (),
+.BR putw ():
+.ad l
+.PD 0
+.RS 4
+.TP 4
+Since glibc 2.3.3:
+_SVID_SOURCE || _BSD_SOURCE ||
+.br
+(_XOPEN_SOURCE &&
+    !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600))
+.TP
+Before glibc 2.3.3:
+_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
+.RE
+.PD
+.ad
 .SH DESCRIPTION
 .BR getw ()
 reads a word (that is, an \fIint\fP) from \fIstream\fP.