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/dup.2 | |
| 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/dup.2')
| -rw-r--r-- | man2/dup.2 | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |
