diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-09-10 07:06:22 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2010-09-10 07:06:22 +0200 |
| commit | 86b91fdffbfa52bb5581d08115edbcd3638b243c (patch) | |
| tree | 9716a49683125f6579d8200a4905270ce0c49a2f /man2 | |
| parent | 090e0f8c7dbc5d4b76ac21d69597b469c175ab9f (diff) | |
| download | man-pages-86b91fdffbfa52bb5581d08115edbcd3638b243c.tar.gz | |
accept.2, clone.2, dup.2, fallocate.2, pipe.2, readahead.2, sched_setaffinity.2, unshare.2, CPU_SET.3, endian.3, euidaccess.3, fexecve.3, getpt.3, getpw.3, getumask.3, getutmp.3, gnu_get_libc_version.3, makedev.3, matherr.3, mbsnrtowcs.3, memfrob.3, pthread_attr_setaffinity_np.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, tcgetsid.3, wcscasecmp.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wcswidth.3, rtld-audit.7: SYNOPSIS: Add reference to feature_test_macros(7)
These pages specify feature test macros in the function
prototypes. Add a reference to feature_test_macros(7),
so that readers are pointed to the information that
feature test macros must be defined before including
*any* header file.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/accept.2 | 4 | ||||
| -rw-r--r-- | man2/clone.2 | 4 | ||||
| -rw-r--r-- | man2/dup.2 | 4 | ||||
| -rw-r--r-- | man2/fallocate.2 | 4 | ||||
| -rw-r--r-- | man2/pipe.2 | 4 | ||||
| -rw-r--r-- | man2/readahead.2 | 4 | ||||
| -rw-r--r-- | man2/sched_setaffinity.2 | 4 | ||||
| -rw-r--r-- | man2/unshare.2 | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/man2/accept.2 b/man2/accept.2 index 3d69b87b92..cac9c686dd 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -36,7 +36,7 @@ .\" Modified 2004-06-17 by Michael Kerrisk <mtk.manpages@gmail.com> .\" 2008-12-04, mtk, Add documentation of accept4() .\" -.TH ACCEPT 2 2009-02-23 "Linux" "Linux Programmer's Manual" +.TH ACCEPT 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME accept \- accept a connection on a socket .SH SYNOPSIS @@ -46,7 +46,7 @@ accept \- accept a connection on a socket .BI "int accept(int " sockfd ", struct sockaddr *" addr ", socklen_t *" addrlen ); -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sys/socket.h> .BI "int accept4(int " sockfd ", struct sockaddr *" addr , diff --git a/man2/clone.2 b/man2/clone.2 index da70d21a80..21a73f0a26 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -42,12 +42,12 @@ .\" FIXME . 2.6.25 marks the unused CLONE_STOPPED as obsolete, and it will .\" probably be removed in the future. .\" -.TH CLONE 2 2009-07-18 "Linux" "Linux Programmer's Manual" +.TH CLONE 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME clone, __clone2 \- create a child process .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .\" Actually _BSD_SOURCE || _SVID_SOURCE .\" See http://sources.redhat.com/bugzilla/show_bug.cgi?id=4749 .B #include <sched.h> diff --git a/man2/dup.2 b/man2/dup.2 index c4ac032cc9..0daff07990 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -33,7 +33,7 @@ .\" details for dup2(). .\" 2008-10-09, mtk: add description of dup3() .\" -.TH DUP 2 2008-10-09 "Linux" "Linux Programmer's Manual" +.TH DUP 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME dup, dup2, dup3 \- duplicate a file descriptor .SH SYNOPSIS @@ -43,7 +43,7 @@ dup, dup2, dup3 \- duplicate a file descriptor .BI "int dup(int " oldfd ); .BI "int dup2(int " oldfd ", int " newfd ); .sp -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .sp .BI "int dup3(int " oldfd ", int " newfd ", int " flags ); diff --git a/man2/fallocate.2 b/man2/fallocate.2 index 20172815bd..42eefbd822 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -2,12 +2,12 @@ .\" Written by Dave Chinner <dgc@sgi.com> .\" May be distributed as per GNU General Public License version 2. .\" -.TH FALLOCATE 2 2009-03-13 "Linux" "Linux Programmer's Manual" +.TH FALLOCATE 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME fallocate \- manipulate file space .SH SYNOPSIS .nf -#define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> .BI "int fallocate(int " fd ", int " mode ", off_t " offset \ diff --git a/man2/pipe.2 b/man2/pipe.2 index 67fb1f4458..b25d94e5b0 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -33,7 +33,7 @@ .\" to EXAMPLE text. .\" 2008-10-10, mtk: add description of pipe2() .\" -.TH PIPE 2 2009-09-15 "Linux" "Linux Programmer's Manual" +.TH PIPE 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME pipe, pipe2 \- create pipe .SH SYNOPSIS @@ -42,7 +42,7 @@ pipe, pipe2 \- create pipe .sp .BI "int pipe(int " pipefd "[2]);" .sp -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .sp .BI "int pipe2(int " pipefd "[2], int " flags ); diff --git a/man2/readahead.2 b/man2/readahead.2 index 886b22ac55..4bd2ad6004 100644 --- a/man2/readahead.2 +++ b/man2/readahead.2 @@ -25,12 +25,12 @@ .\" 2004-05-40 Created by Michael Kerrisk <mtk.manpages@gmail.com> .\" 2004-10-05 aeb, minor correction .\" -.TH READAHEAD 2 2007-07-26 "Linux" "Linux Programmer's Manual" +.TH READAHEAD 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME readahead \- perform file readahead into page cache .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> .sp .BI "ssize_t readahead(int " fd ", off64_t " offset ", size_t " count ); diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2 index bc5f9dd9d1..efe1ff7dee 100644 --- a/man2/sched_setaffinity.2 +++ b/man2/sched_setaffinity.2 @@ -32,13 +32,13 @@ .\" 2008-11-12, mtk, removed CPU_*() macro descriptions to a .\" separate CPU_SET(3) page. .\" -.TH SCHED_SETAFFINITY 2 2008-11-14 "Linux" "Linux Programmer's Manual" +.TH SCHED_SETAFFINITY 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME sched_setaffinity, sched_getaffinity \- \ set and get a process's CPU affinity mask .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sched.h> .sp .BI "int sched_setaffinity(pid_t " pid ", size_t " cpusetsize , diff --git a/man2/unshare.2 b/man2/unshare.2 index bd411376e0..93ec8cd20c 100644 --- a/man2/unshare.2 +++ b/man2/unshare.2 @@ -18,12 +18,12 @@ .\" FIXME Document CLONE_NEWUTS, which is new in 2.6.19 .\" FIXME Document CLONE_SYSVSEM, which is new in 2.6.26 .\" -.TH UNSHARE 2 2008-11-20 "Linux" "Linux Programmer's Manual" +.TH UNSHARE 2 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME unshare \- disassociate parts of the process execution context .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "define _GNU_SOURCE" " /* See feature_test_macros(7) */" .\" Actually _BSD_SOURCE || _SVID_SOURCE .\" See http://sources.redhat.com/bugzilla/show_bug.cgi?id=4749 .B #include <sched.h> |
