aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pipe.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-09-10 07:06:22 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-09-10 07:06:22 +0200
commit86b91fdffbfa52bb5581d08115edbcd3638b243c (patch)
tree9716a49683125f6579d8200a4905270ce0c49a2f /man2/pipe.2
parent090e0f8c7dbc5d4b76ac21d69597b469c175ab9f (diff)
downloadman-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/pipe.2')
-rw-r--r--man2/pipe.24
1 files changed, 2 insertions, 2 deletions
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 );