aboutsummaryrefslogtreecommitdiffstats
path: root/man2/clone.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/clone.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/clone.2')
-rw-r--r--man2/clone.24
1 files changed, 2 insertions, 2 deletions
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>