aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/kill.26
-rw-r--r--man2/sigaction.212
-rw-r--r--man2/sigpending.212
-rw-r--r--man2/sigprocmask.212
-rw-r--r--man2/sigsuspend.212
-rw-r--r--man3/confstr.34
-rw-r--r--man3/ctermid.32
-rw-r--r--man3/ctime.35
-rw-r--r--man3/ferror.34
-rw-r--r--man3/flockfile.35
-rw-r--r--man3/fopen.34
-rw-r--r--man3/getaddrinfo.314
-rw-r--r--man3/getgrnam.314
-rw-r--r--man3/getnameinfo.312
-rw-r--r--man3/getopt.318
-rw-r--r--man3/getpwnam.35
-rw-r--r--man3/longjmp.34
-rw-r--r--man3/popen.316
-rw-r--r--man3/rand.34
-rw-r--r--man3/readdir.313
-rw-r--r--man3/setjmp.34
-rw-r--r--man3/sigsetops.316
-rw-r--r--man3/sigwait.312
-rw-r--r--man3/strtok.35
-rw-r--r--man3/tzset.36
-rw-r--r--man3/unlocked_stdio.345
26 files changed, 218 insertions, 48 deletions
diff --git a/man2/kill.2 b/man2/kill.2
index b5fa14c32a..5cfa9a42b0 100644
--- a/man2/kill.2
+++ b/man2/kill.2
@@ -41,7 +41,7 @@
.\" Modified 2004-06-24 by aeb
.\" Modified, 2004-11-30, after idea from emmanuel.colbus@ensimag.imag.fr
.\"
-.TH KILL 2 2008-04-18 "Linux" "Linux Programmer's Manual"
+.TH KILL 2 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
kill \- send signal to a process
.SH SYNOPSIS
@@ -58,8 +58,10 @@ Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
.sp
+.ad l
.BR kill ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR kill ()
diff --git a/man2/sigaction.2 b/man2/sigaction.2
index c6f6db49cf..b09ff768a5 100644
--- a/man2/sigaction.2
+++ b/man2/sigaction.2
@@ -40,7 +40,7 @@
.\" 2005-09-15, mtk, split sigpending(), sigprocmask(), sigsuspend()
.\" out of this page into separate pages.
.\"
-.TH SIGACTION 2 2008-07-08 "Linux" "Linux Programmer's Manual"
+.TH SIGACTION 2 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigaction \- examine and change a signal action
.SH SYNOPSIS
@@ -50,6 +50,16 @@ sigaction \- examine and change a signal action
.BI "int sigaction(int " signum ", const struct sigaction *" act ,
.BI " struct sigaction *" oldact );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigaction ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR sigaction ()
diff --git a/man2/sigpending.2 b/man2/sigpending.2
index c73d4e9d58..8371ec0ccd 100644
--- a/man2/sigpending.2
+++ b/man2/sigpending.2
@@ -24,13 +24,23 @@
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
-.TH SIGPENDING 2 2005-09-15 "Linux" "Linux Programmer's Manual"
+.TH SIGPENDING 2 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigpending \- examine pending signals
.SH SYNOPSIS
.B #include <signal.h>
.sp
.BI "int sigpending(sigset_t *" set );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigpending ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
.PP
.BR sigpending ()
diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index c5b4d587ae..e1b5538e7a 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -24,7 +24,7 @@
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
-.TH SIGPROCMASK 2 2005-09-15 "Linux" "Linux Programmer's Manual"
+.TH SIGPROCMASK 2 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigprocmask \- examine and change blocked signals
.SH SYNOPSIS
@@ -32,6 +32,16 @@ sigprocmask \- examine and change blocked signals
.sp
.BI "int sigprocmask(int " how ", const sigset_t *" set ,
.BI "sigset_t *" oldset );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigprocmask ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
.BR sigprocmask ()
is used to change the signal mask, the set of currently blocked signals.
diff --git a/man2/sigsuspend.2 b/man2/sigsuspend.2
index 0d19de57db..cf85ed8737 100644
--- a/man2/sigsuspend.2
+++ b/man2/sigsuspend.2
@@ -24,13 +24,23 @@
.\"
.\" 2005-09-15, mtk, Created new page by splitting off from sigaction.2
.\"
-.TH SIGSUSPEND 2 2005-09-15 "Linux" "Linux Programmer's Manual"
+.TH SIGSUSPEND 2 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigsuspend \- wait for a signal
.SH SYNOPSIS
.B #include <signal.h>
.sp
.BI "int sigsuspend(const sigset_t *" mask );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigsuspend ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
.BR sigsuspend ()
temporarily replaces the signal mask of the calling process with the
diff --git a/man3/confstr.3 b/man3/confstr.3
index a828c27e57..7e1070af3d 100644
--- a/man3/confstr.3
+++ b/man3/confstr.3
@@ -26,7 +26,7 @@
.\" See <bits/confname.h> for the rest.
.\" These should all be added to this page.
.\" See also the POSIX.1-2001 specification of confstr()
-.TH CONFSTR 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH CONFSTR 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
confstr \- get configuration dependent string variables
.SH SYNOPSIS
@@ -42,7 +42,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR getcwd ():
-_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE || _POSIX_SOURCE
.SH DESCRIPTION
.BR confstr ()
gets the value of configuration-dependent string variables.
diff --git a/man3/ctermid.3 b/man3/ctermid.3
index 7ca94ff0c9..69cc3dba51 100644
--- a/man3/ctermid.3
+++ b/man3/ctermid.3
@@ -37,7 +37,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR ctermid ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.\" From <unistd.h>: _XOPEN_SOURCE
.SH DESCRIPTION
.BR ctermid ()
diff --git a/man3/ctime.3 b/man3/ctime.3
index f6d225999b..3bfdc61a1e 100644
--- a/man3/ctime.3
+++ b/man3/ctime.3
@@ -30,7 +30,7 @@
.\" Modified 2001-12-13, joey, aeb
.\" Modified 2004-11-16, mtk
.\"
-.TH CTIME 3 2008-08-06 "" "Linux Programmer's Manual"
+.TH CTIME 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
localtime_r \- transform date and time to broken-down time or ASCII
@@ -67,7 +67,8 @@ Feature Test Macro Requirements for glibc (see
.BR gmtime_r (),
.BR localtime_r ():
.br
-_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
+_SVID_SOURCE || _POSIX_SOURCE
.SH DESCRIPTION
The
.BR ctime (),
diff --git a/man3/ferror.3 b/man3/ferror.3
index 3d81897d34..7386e85868 100644
--- a/man3/ferror.3
+++ b/man3/ferror.3
@@ -39,7 +39,7 @@
.\" Converted for Linux, Mon Nov 29 14:24:40 1993, faith@cs.unc.edu
.\" Added remark on EBADF for fileno, aeb, 2001-03-22
.\"
-.TH FERROR 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH FERROR 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
clearerr, feof, ferror, fileno \- check and reset stream status
.SH SYNOPSIS
@@ -59,7 +59,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR fileno ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.SH DESCRIPTION
The function
.BR clearerr ()
diff --git a/man3/flockfile.3 b/man3/flockfile.3
index 2cbe84ca34..5d86faae92 100644
--- a/man3/flockfile.3
+++ b/man3/flockfile.3
@@ -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.
.\"
-.TH FLOCKFILE 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH FLOCKFILE 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
.SH SYNOPSIS
@@ -41,7 +41,8 @@ Feature Test Macro Requirements for glibc (see
.ad l
.sp
All functions shown above:
-_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
+_SVID_SOURCE || _POSIX_SOURCE
.ad b
.SH DESCRIPTION
The stdio functions are thread-safe.
diff --git a/man3/fopen.3 b/man3/fopen.3
index 1be6e5a8e0..7cb8b4b35b 100644
--- a/man3/fopen.3
+++ b/man3/fopen.3
@@ -43,7 +43,7 @@
.\" will add support for an 'e' mode to open the file with close-on-exec
.\" set; probably this will be in glibc 2.9, and needs to be documented.
.\"
-.TH FOPEN 3 2007-11-26 "GNU" "Linux Programmer's Manual"
+.TH FOPEN 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
fopen, fdopen, freopen \- stream open functions
.SH SYNOPSIS
@@ -63,7 +63,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR fdopen ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.SH DESCRIPTION
The
.BR fopen ()
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 4d26621675..e543b23be3 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -34,7 +34,7 @@
.\" minor rewrites.
.\" 2008-06-18, mtk: many parts rewritten
.\"
-.TH GETADDRINFO 3 2008-06-18 "GNU" "Linux Programmer's Manual"
+.TH GETADDRINFO 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
service translation
@@ -52,6 +52,18 @@ service translation
.sp
.BI "const char *gai_strerror(int " "errcode" );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR getaddrinfo (),
+.BR freeaddrinfo (),
+.BR gai_strerror ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
Given
.I node
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 0144203f88..030cd14ce8 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -28,7 +28,7 @@
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
.\" Modified 2003-11-15 by aeb
.\"
-.TH GETGRNAM 3 2003-11-15 "" "Linux Programmer's Manual"
+.TH GETGRNAM 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
getgrnam, getgrnam_r, getgrgid, getgrgid_r \- get group file entry
.SH SYNOPSIS
@@ -48,6 +48,18 @@ getgrnam, getgrnam_r, getgrgid, getgrgid_r \- get group file entry
.br
.BI " char *" buf ", size_t " buflen ", struct group **" gbufp );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR getgrnam_r (),
+.BR getgrgid_r ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
+_SVID_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR getgrnam ()
diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3
index 7f3ab09024..7a89d4e452 100644
--- a/man3/getnameinfo.3
+++ b/man3/getnameinfo.3
@@ -4,7 +4,7 @@
.\" 2004-12-14, mtk, Added EAI_OVERFLOW error
.\" 2004-12-14 Fixed description of error return
.\"
-.TH GETNAMEINFO 3 2008-06-18 "GNU" "Linux Programmer's Manual"
+.TH GETNAMEINFO 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getnameinfo \- address-to-name translation in protocol-independent manner
.SH SYNOPSIS
@@ -16,6 +16,16 @@ getnameinfo \- address-to-name translation in protocol-independent manner
.BI " char *" "host" ", size_t " "hostlen" ,
.BI " char *" "serv" ", size_t " "servlen" ", int " "flags" );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR getnameinfo ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR getnameinfo ()
diff --git a/man3/getopt.3 b/man3/getopt.3
index 8974a07e7b..503f6890a4 100644
--- a/man3/getopt.3
+++ b/man3/getopt.3
@@ -36,7 +36,7 @@
.\" the start of optstring
.\" Modified 2006-12-15, mtk, Added getopt() example program.
.\"
-.TH GETOPT 3 2008-07-10 "GNU" "Linux Programmer's Manual"
+.TH GETOPT 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getopt, getopt_long, getopt_long_only,
optarg, optind, opterr, optopt \- Parse command-line options
@@ -50,8 +50,6 @@ optarg, optind, opterr, optopt \- Parse command-line options
.BI "extern char *" optarg ;
.BI "extern int " optind ", " opterr ", " optopt ;
.sp
-.B #define _GNU_SOURCE
-.br
.B #include <getopt.h>
.sp
.BI "int getopt_long(int " argc ", char * const " argv[] ,
@@ -62,6 +60,20 @@ optarg, optind, opterr, optopt \- Parse command-line options
.BI " const char *" optstring ,
.BI " const struct option *" longopts ", int *" longindex );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR getopt ():
+_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE || _POSIX_SOURCE
+.br
+.BR getopt_long (),
+.BR getopt_long_only ():
+_GNU_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR getopt ()
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
index 6c3081d240..83d6d3cbc6 100644
--- a/man3/getpwnam.3
+++ b/man3/getpwnam.3
@@ -29,7 +29,7 @@
.\" Modified 1996-05-27 by Martin Schulze (joey@linux.de)
.\" Modified 2003-11-15 by aeb
.\"
-.TH GETPWNAM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH GETPWNAM 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getpwnam, getpwnam_r, getpwuid, getpwuid_r \- get password file entry
.SH SYNOPSIS
@@ -58,7 +58,8 @@ Feature Test Macro Requirements for glibc (see
.ad l
.BR getpwnam_r (),
.BR getpwuid_r ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
+_SVID_SOURCE || _POSIX_SOURCE
.ad b
.SH DESCRIPTION
The
diff --git a/man3/longjmp.3 b/man3/longjmp.3
index 303eeac2c6..5838a9d0bd 100644
--- a/man3/longjmp.3
+++ b/man3/longjmp.3
@@ -23,7 +23,7 @@
.\" Added siglongjmp, Sun Mar 2 22:03:05 EST 1997, jrv@vanzandt.mv.com
.\" Modifications, Sun Feb 26 14:39:45 1995, faith@cs.unc.edu
.\" "
-.TH LONGJMP 3 2007-09-06 "" "Linux Programmer's Manual"
+.TH LONGJMP 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
longjmp, siglongjmp \- non-local jump to a saved stack context
.SH SYNOPSIS
@@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR siglongjmp ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_C_SOURCE
.SH DESCRIPTION
.BR longjmp ()
and
diff --git a/man3/popen.3 b/man3/popen.3
index 436440ea67..1af7bcab8b 100644
--- a/man3/popen.3
+++ b/man3/popen.3
@@ -40,15 +40,29 @@
.\" with close-on-exec set; probably this will be in glibc 2.9,
.\" and needs to be documented.
.\"
-.TH POPEN 3 1998-05-07 "GNU" "Linux Programmer's Manual"
+.TH POPEN 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
popen, pclose \- process I/O
.SH SYNOPSIS
+.nf
.B #include <stdio.h>
.sp
.BI "FILE *popen(const char *" command ", const char *" type );
.sp
.BI "int pclose(FILE *" stream );
+.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR popen (),
+.BR pclose ():
+_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE || _POSIX_SOURCE
+_BSD_SOURCE || _SVID_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR popen ()
diff --git a/man3/rand.3 b/man3/rand.3
index 44691e9b6a..6a3529589c 100644
--- a/man3/rand.3
+++ b/man3/rand.3
@@ -35,7 +35,7 @@
.\" with contribution from Francesco Potorti <F.Potorti@cnuce.cnr.it>
.\" Modified 2003-11-15, aeb, added rand_r
.\"
-.TH RAND 3 2008-08-06 "" "Linux Programmer's Manual"
+.TH RAND 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
rand, rand_r, srand \- pseudo-random number generator
.SH SYNOPSIS
@@ -55,7 +55,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR rand_r ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.SH DESCRIPTION
The
.BR rand ()
diff --git a/man3/readdir.3 b/man3/readdir.3
index c2d1dc2534..059d8a1a84 100644
--- a/man3/readdir.3
+++ b/man3/readdir.3
@@ -31,7 +31,7 @@
.\" Rework discussion of non-standard structure fields.
.\" 2008-07-04, mtk, Document readdir_r().
.\"
-.TH READDIR 3 2008-07-04 "" "Linux Programmer's Manual"
+.TH READDIR 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
readdir, readdir_r \- read a directory
.SH SYNOPSIS
@@ -43,6 +43,17 @@ readdir, readdir_r \- read a directory
.BI "int readdir_r(DIR *" dir ", struct dirent *" entry \
", struct dirent **" result );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR readdir_r ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _BSD_SOURCE ||
+_SVID_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR readdir ()
diff --git a/man3/setjmp.3 b/man3/setjmp.3
index 4943e00aef..daa6fcdd7d 100644
--- a/man3/setjmp.3
+++ b/man3/setjmp.3
@@ -23,7 +23,7 @@
.\" Added sigsetjmp, Sun Mar 2 22:03:05 EST 1997, jrv@vanzandt.mv.com
.\" Modifications, Sun Feb 26 14:39:45 1995, faith@cs.unc.edu
.\" "
-.TH SETJMP 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH SETJMP 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
setjmp, sigsetjmp \- save stack context for non-local goto
.SH SYNOPSIS
@@ -41,7 +41,7 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR sigsetjmp ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_C_SOURCE
.SH DESCRIPTION
.BR setjmp ()
and
diff --git a/man3/sigsetops.3 b/man3/sigsetops.3
index a1c246844a..7274bdb8e7 100644
--- a/man3/sigsetops.3
+++ b/man3/sigsetops.3
@@ -26,7 +26,7 @@
.\" 2007-10-26 mdw added wording that a sigset_t must be initialized
.\" prior to use
.\"
-.TH SIGSETOPS 3 2007-11-25 "Linux" "Linux Programmer's Manual"
+.TH SIGSETOPS 3 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigemptyset, sigfillset, sigaddset, sigdelset, sigismember \- POSIX
signal set operations.
@@ -42,6 +42,20 @@ signal set operations.
.BI "int sigdelset(sigset_t *" set ", int " signum );
.sp
.BI "int sigismember(const sigset_t *" set ", int " signum );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigemptyset (),
+.BR sigfillset (),
+.BR sigaddset (),
+.BR sigdelset (),
+.BR sigismember ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
These functions allow the manipulation of POSIX signal sets.
.PP
diff --git a/man3/sigwait.3 b/man3/sigwait.3
index 946e08c5d2..d5a90c999c 100644
--- a/man3/sigwait.3
+++ b/man3/sigwait.3
@@ -21,7 +21,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
-.TH SIGWAIT 3 2008-07-02 "Linux" "Linux Programmer's Manual"
+.TH SIGWAIT 3 2008-08-29 "Linux" "Linux Programmer's Manual"
.SH NAME
sigwait \- wait for a signal
.SH SYNOPSIS
@@ -30,6 +30,16 @@ sigwait \- wait for a signal
.BI " int sigwait(const sigset_t *" set ", int *" sig );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR sigwait ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
+.ad b
.SH DESCRIPTION
The
.BR sigwait ()
diff --git a/man3/strtok.3 b/man3/strtok.3
index c185de14c5..02729f8271 100644
--- a/man3/strtok.3
+++ b/man3/strtok.3
@@ -25,7 +25,7 @@
.\" Updated, added strtok_r. 2000-02-13 Nicol�s Lichtmaier <nick@debian.org>
.\" 2005-11-17, mtk: Substantial parts rewritten
.\"
-.TH STRTOK 3 2007-07-26 "GNU" "Linux Programmer's Manual"
+.TH STRTOK 3 2008-08-29 "GNU" "Linux Programmer's Manual"
.SH NAME
strtok, strtok_r \- extract tokens from strings
.SH SYNOPSIS
@@ -44,7 +44,8 @@ Feature Test Macro Requirements for glibc (see
.sp
.ad l
.BR strtok_r ():
-_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE
+_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\ >=\ 1 ||
+_XOPEN_SOURCE || _POSIX_SOURCE
.ad b
.SH DESCRIPTION
The
diff --git a/man3/tzset.3 b/man3/tzset.3
index 32188316d3..b47cc1b859 100644
--- a/man3/tzset.3
+++ b/man3/tzset.3
@@ -28,7 +28,7 @@
.\" Modified 2001-11-13, aeb
.\" Modified 2004-12-01 mtk and Martin Schulze <joey@infodrom.org>
.\"
-.TH TZSET 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH TZSET 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
tzset, tzname, timezone, daylight \- initialize time conversion information
.SH SYNOPSIS
@@ -48,10 +48,10 @@ Feature Test Macro Requirements for glibc (see
.in
.sp
.BR tzset ():
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.br
.IR tzname :
-_POSIX_C_SOURCE || _XOPEN_SOURCE
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE
.br
.IR timezone :
_SVID_SOURCE || _XOPEN_SOURCE
diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
index 5b8da8c776..236065394a 100644
--- a/man3/unlocked_stdio.3
+++ b/man3/unlocked_stdio.3
@@ -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.
.\"
-.TH UNLOCKED_STDIO 3 2007-07-26 "" "Linux Programmer's Manual"
+.TH UNLOCKED_STDIO 3 2008-08-29 "" "Linux Programmer's Manual"
.SH NAME
getc_unlocked, getchar_unlocked, putc_unlocked,
putchar_unlocked \- non-locking stdio functions
@@ -33,9 +33,6 @@ putchar_unlocked \- non-locking stdio functions
.BI "int putc_unlocked(int " c ", FILE *" stream );
.BI "int putchar_unlocked(int " c );
.sp
-.BR "#define _BSD_SOURCE" " /* or _SVID_SOURCE */"
-.B #include <stdio.h>
-.sp
.BI "void clearerr_unlocked(FILE *" stream );
.BI "int feof_unlocked(FILE *" stream );
.BI "int ferror_unlocked(FILE *" stream );
@@ -48,13 +45,9 @@ putchar_unlocked \- non-locking stdio functions
.BI "size_t fwrite_unlocked(const void *" ptr ", size_t " size ", size_t " n ,
.BI " FILE *" stream );
.sp
-.B #define _GNU_SOURCE
-.B #include <stdio.h>
-.sp
.BI "char *fgets_unlocked(char *" s ", int " n ", FILE *" stream );
.BI "int fputs_unlocked(const char *" s ", FILE *" stream );
.sp
-.B #define _GNU_SOURCE
.B #include <wchar.h>
.sp
.BI "wint_t getwc_unlocked(FILE *" stream );
@@ -66,6 +59,42 @@ putchar_unlocked \- non-locking stdio functions
.BI "wchar_t *fgetws_unlocked(wchar_t *" ws ", int " n ", FILE *" stream );
.BI "int fputws_unlocked(const wchar_t *" ws ", FILE *" stream );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.ad l
+.in
+.sp
+.BR getc_unlocked (),
+.BR getchar_unlocked (),
+.BR putc_unlocked (),
+.BR putchar_unlocked ():
+_POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE ||
+_BSD_SOURCE || _SVID_SOURCE
+.sp
+.BR clearerr_unlocked (),
+.BR feof_unlocked (),
+.BR ferror_unlocked (),
+.BR fileno_unlocked (),
+.BR fflush_unlocked (),
+.BR fgetc_unlocked (),
+.BR fputc_unlocked (),
+.BR fread_unlocked (),
+.BR fwrite_unlocked ():
+_BSD_SOURCE || _SVID_SOURCE
+.sp
+.BR fgets_unlocked (),
+.BR fputs_unlocked (),
+.BR getwc_unlocked (),
+.BR getwchar_unlocked (),
+.BR fgetwc_unlocked (),
+.BR fputwc_unlocked (),
+.BR putwchar_unlocked (),
+.BR fgetws_unlocked (),
+.BR fputws_unlocked ():
+_GNU_SOURCE
+.ad b
.SH DESCRIPTION
Each of these functions has the same behavior as its counterpart
without the "_unlocked" suffix, except that they do not use locking