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 /man3 | |
| 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 'man3')
| -rw-r--r-- | man3/CPU_SET.3 | 4 | ||||
| -rw-r--r-- | man3/endian.3 | 4 | ||||
| -rw-r--r-- | man3/euidaccess.3 | 4 | ||||
| -rw-r--r-- | man3/fexecve.3 | 4 | ||||
| -rw-r--r-- | man3/getpt.3 | 4 | ||||
| -rw-r--r-- | man3/getpw.3 | 4 | ||||
| -rw-r--r-- | man3/getumask.3 | 4 | ||||
| -rw-r--r-- | man3/getutmp.3 | 4 | ||||
| -rw-r--r-- | man3/gnu_get_libc_version.3 | 4 | ||||
| -rw-r--r-- | man3/makedev.3 | 4 | ||||
| -rw-r--r-- | man3/matherr.3 | 2 | ||||
| -rw-r--r-- | man3/mbsnrtowcs.3 | 4 | ||||
| -rw-r--r-- | man3/memfrob.3 | 4 | ||||
| -rw-r--r-- | man3/pthread_attr_setaffinity_np.3 | 4 | ||||
| -rw-r--r-- | man3/pthread_getattr_np.3 | 4 | ||||
| -rw-r--r-- | man3/pthread_setaffinity_np.3 | 4 | ||||
| -rw-r--r-- | man3/pthread_tryjoin_np.3 | 4 | ||||
| -rw-r--r-- | man3/tcgetsid.3 | 4 | ||||
| -rw-r--r-- | man3/wcscasecmp.3 | 4 | ||||
| -rw-r--r-- | man3/wcsncasecmp.3 | 4 | ||||
| -rw-r--r-- | man3/wcsnlen.3 | 4 | ||||
| -rw-r--r-- | man3/wcsnrtombs.3 | 4 | ||||
| -rw-r--r-- | man3/wcswidth.3 | 4 |
23 files changed, 45 insertions, 45 deletions
diff --git a/man3/CPU_SET.3 b/man3/CPU_SET.3 index 2a9329c481..77cdd7a5ff 100644 --- a/man3/CPU_SET.3 +++ b/man3/CPU_SET.3 @@ -22,7 +22,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH CPU_SET 3 2010-02-21 "Linux" "Linux Programmer's Manual" +.TH CPU_SET 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, CPU_EQUAL, @@ -32,7 +32,7 @@ CPU_COUNT_S, CPU_AND_S, CPU_OR_S, CPU_XOR_S, CPU_EQUAL_S \- macros for manipulating CPU sets .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sched.h> .sp .BI "void CPU_ZERO(cpu_set_t *" set ); diff --git a/man3/endian.3 b/man3/endian.3 index ee040ffa0d..16ea0161e3 100644 --- a/man3/endian.3 +++ b/man3/endian.3 @@ -23,14 +23,14 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH ENDIAN 3 2009-01-19 "GNU" "Linux Programmer's Manual" +.TH ENDIAN 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh \- convert values between host and big-/little-endian byte order .SH SYNOPSIS .nf -.B #define _BSD_SOURCE +.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */" .B #include <endian.h> .BI "uint16_t htobe16(uint16_t " host_16bits ); diff --git a/man3/euidaccess.3 b/man3/euidaccess.3 index b4dfb885b7..e7452bfafe 100644 --- a/man3/euidaccess.3 +++ b/man3/euidaccess.3 @@ -23,12 +23,12 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH EUIDACCESS 3 2007-07-26 "" "Linux Programmer's Manual" +.TH EUIDACCESS 3 2010-09-10 "" "Linux Programmer's Manual" .SH NAME euidaccess, eaccess \- check effective user's permissions for a file .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .sp .BI "int euidaccess(const char *" pathname ", int " mode ); diff --git a/man3/fexecve.3 b/man3/fexecve.3 index b8930a1c53..c619191a82 100644 --- a/man3/fexecve.3 +++ b/man3/fexecve.3 @@ -22,12 +22,12 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH FEXECVE 3 2009-02-04 "Linux" "Linux Programmer's Manual" +.TH FEXECVE 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME fexecve \- execute program specified via file descriptor .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .sp .BI "int fexecve(int " fd ", char *const " argv "[], char *const " envp []); diff --git a/man3/getpt.3 b/man3/getpt.3 index a9e1af825e..39414d12f2 100644 --- a/man3/getpt.3 +++ b/man3/getpt.3 @@ -2,12 +2,12 @@ .\" This man page was written by Jeremy Phelps <jphelps@notreached.net>. .\" Redistribute and modify at will. .\" -.TH GETPT 3 2008-06-14 "GNU" "Linux Programmer's Manual" +.TH GETPT 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME getpt \- open the pseudo-terminal master (PTM) .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <stdlib.h> .sp .B "int getpt(void);" diff --git a/man3/getpw.3 b/man3/getpw.3 index 9f0a16b698..a8b401ddbc 100644 --- a/man3/getpw.3 +++ b/man3/getpw.3 @@ -27,12 +27,12 @@ .\" Modified Sat Jul 24 19:23:25 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de) .\" -.TH GETPW 3 2007-12-12 "GNU" "Linux Programmer's Manual" +.TH GETPW 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME getpw \- Re-construct password line entry .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <sys/types.h> .B #include <pwd.h> .sp diff --git a/man3/getumask.3 b/man3/getumask.3 index eec81b1bd9..310ed5f51a 100644 --- a/man3/getumask.3 +++ b/man3/getumask.3 @@ -23,11 +23,11 @@ .\" This replaces an earlier man page written by Walter Harms .\" <walter.harms@informatik.uni-oldenburg.de>. .\" -.TH GETUMASK 3 2009-01-20 "GNU" "Linux Programmer's Manual" +.TH GETUMASK 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME getumask \- get file creation mask .SH SYNOPSIS -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .br .B "#include <sys/types.h>" .br diff --git a/man3/getutmp.3 b/man3/getutmp.3 index ef4f83f175..8e5016f95b 100644 --- a/man3/getutmp.3 +++ b/man3/getutmp.3 @@ -21,12 +21,12 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH GETUTMP 3 2008-07-02 "Linux" "Linux Programmer's Manual" +.TH GETUTMP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME getutmp, getutmpx \- copy utmp structure to utmpx, and vice versa .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <utmpx.h> .BI " void getutmp(const struct utmpx *" ux ", struct utmp *" u ); diff --git a/man3/gnu_get_libc_version.3 b/man3/gnu_get_libc_version.3 index e67ef2fda0..248b96af50 100644 --- a/man3/gnu_get_libc_version.3 +++ b/man3/gnu_get_libc_version.3 @@ -21,12 +21,12 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH GNU_GET_LIBC_VERSION 3 2008-07-02 "Linux" "Linux Programmer's Manual" +.TH GNU_GET_LIBC_VERSION 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME gnu_get_libc_version, gnu_get_libc_release \- get glibc version and release .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <gnu/libc-version.h> .B const char *gnu_get_libc_version(void); diff --git a/man3/makedev.3 b/man3/makedev.3 index 3e1abfe9dd..0d86f137f1 100644 --- a/man3/makedev.3 +++ b/man3/makedev.3 @@ -21,12 +21,12 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH MAKEDEV 3 2008-12-01 "Linux" "Linux Programmer's Manual" +.TH MAKEDEV 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME makedev, major, minor \- manage a device number .SH SYNOPSIS .nf -.B #define _BSD_SOURCE +.BR "#define _BSD_SOURCE" " /* See feature_test_macros(7) */" .B #include <sys/types.h> .BI "dev_t makedev(int " maj ", int " min ); diff --git a/man3/matherr.3 b/man3/matherr.3 index 9155271b20..42dabb1753 100644 --- a/man3/matherr.3 +++ b/man3/matherr.3 @@ -27,7 +27,7 @@ matherr \- SVID math library exception handling .SH SYNOPSIS .nf -.B #define _SVID_SOURCE +.BR "#define _SVID_SOURCE" " /* See feature_test_macros(7) */" .B #include <math.h> .BI "int matherr(struct exception *" exc ); diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3 index 61e137636d..255f0efbc9 100644 --- a/man3/mbsnrtowcs.3 +++ b/man3/mbsnrtowcs.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH MBSNRTOWCS 3 2007-07-26 "GNU" "Linux Programmer's Manual" +.TH MBSNRTOWCS 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME mbsnrtowcs \- convert a multibyte string to a wide-character string .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "size_t mbsnrtowcs(wchar_t *" dest ", const char **" src , diff --git a/man3/memfrob.3 b/man3/memfrob.3 index 316e583e88..ed0903dc5c 100644 --- a/man3/memfrob.3 +++ b/man3/memfrob.3 @@ -25,12 +25,12 @@ .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 18:54:45 1993 by Rik Faith (faith@cs.unc.edu) -.TH MEMFROB 3 2007-07-26 "GNU" "Linux Programmer's Manual" +.TH MEMFROB 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME memfrob \- frobnicate (encrypt) a memory area .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <string.h> .sp .BI "void *memfrob(void *" s ", size_t " n ); diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index efd63ea7d3..c1775f23b3 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -21,13 +21,13 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2009-02-01 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME pthread_attr_setaffinity_np, pthread_attr_getaffinity_np \- set/get CPU affinity attribute in thread attributes object .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <pthread.h> .BI "int pthread_attr_setaffinity_np(pthread_attr_t *" attr , diff --git a/man3/pthread_getattr_np.3 b/man3/pthread_getattr_np.3 index 9f62ad063c..27f76d92a5 100644 --- a/man3/pthread_getattr_np.3 +++ b/man3/pthread_getattr_np.3 @@ -21,12 +21,12 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH PTHREAD_GETATTR_NP 3 2008-11-11 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_GETATTR_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME pthread_getattr_np \- get attributes of created thread .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <pthread.h> .BI "int pthread_getattr_np(pthread_t " thread ", pthread_attr_t *" attr ); diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3 index 6f3e488175..16b6674acc 100644 --- a/man3/pthread_setaffinity_np.3 +++ b/man3/pthread_setaffinity_np.3 @@ -21,13 +21,13 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH PTHREAD_SETAFFINITY_NP 3 2008-11-27 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_SETAFFINITY_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME pthread_setaffinity_np, pthread_getaffinity_np \- set/get CPU affinity of a thread .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <pthread.h> .BI "int pthread_setaffinity_np(pthread_t " thread ", size_t " cpusetsize , diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index 7b3035db43..c529b5c9e0 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -21,13 +21,13 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH PTHREAD_TRYJOIN_NP 3 2008-11-11 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_TRYJOIN_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" .SH NAME pthread_tryjoin_np, pthread_timedjoin_np \- try to join with a terminated thread .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <pthread.h> .BI "int pthread_tryjoin_np(pthread_t " thread ", void **" retval ); diff --git a/man3/tcgetsid.3 b/man3/tcgetsid.3 index 3a2085df87..7800208360 100644 --- a/man3/tcgetsid.3 +++ b/man3/tcgetsid.3 @@ -20,11 +20,11 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH TCGETSID 3 2008-06-14 "GNU" "Linux Programmer's Manual" +.TH TCGETSID 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME tcgetsid \- get session ID .SH SYNOPSIS -.B #define _XOPEN_SOURCE 500 +.BR "#define _XOPEN_SOURCE 500" " /* See feature_test_macros(7) */" .br .B "#include <termios.h>" .sp diff --git a/man3/wcscasecmp.3 b/man3/wcscasecmp.3 index 409d071a8b..f6ee11d5b2 100644 --- a/man3/wcscasecmp.3 +++ b/man3/wcscasecmp.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH WCSCASECMP 3 2009-02-04 "GNU" "Linux Programmer's Manual" +.TH WCSCASECMP 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME wcscasecmp \- compare two wide-character strings, ignoring case .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "int wcscasecmp(const wchar_t *" s1 ", const wchar_t *" s2 ); diff --git a/man3/wcsncasecmp.3 b/man3/wcsncasecmp.3 index 0af2d633d5..8121afa3f9 100644 --- a/man3/wcsncasecmp.3 +++ b/man3/wcsncasecmp.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH WCSNCASECMP 3 2009-02-04 "GNU" "Linux Programmer's Manual" +.TH WCSNCASECMP 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "int wcsncasecmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n ); diff --git a/man3/wcsnlen.3 b/man3/wcsnlen.3 index 0d21a3fd70..62f9ec7238 100644 --- a/man3/wcsnlen.3 +++ b/man3/wcsnlen.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH WCSNLEN 3 2007-07-26 "GNU" "Linux Programmer's Manual" +.TH WCSNLEN 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME wcsnlen \- determine the length of a fixed-size wide-character string .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "size_t wcsnlen(const wchar_t *" s ", size_t " maxlen ); diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3 index 85fd5bce98..124800451c 100644 --- a/man3/wcsnrtombs.3 +++ b/man3/wcsnrtombs.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH WCSNRTOMBS 3 2007-07-26 "GNU" "Linux Programmer's Manual" +.TH WCSNRTOMBS 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME wcsnrtombs \- convert a wide-character string to a multibyte string .SH SYNOPSIS .nf -.B #define _GNU_SOURCE +.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "size_t wcsnrtombs(char *" dest ", const wchar_t **" src ", size_t " nwc , diff --git a/man3/wcswidth.3 b/man3/wcswidth.3 index c1f0c0ab44..b7e4e28b6c 100644 --- a/man3/wcswidth.3 +++ b/man3/wcswidth.3 @@ -10,12 +10,12 @@ .\" Dinkumware C library reference http://www.dinkumware.com/ .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html .\" -.TH WCSWIDTH 3 2007-07-26 "GNU" "Linux Programmer's Manual" +.TH WCSWIDTH 3 2010-09-10 "GNU" "Linux Programmer's Manual" .SH NAME wcswidth \- determine columns needed for a fixed-size wide-character string .SH SYNOPSIS .nf -.B #define _XOPEN_SOURCE +.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */" .B #include <wchar.h> .sp .BI "int wcswidth(const wchar_t *" s ", size_t " n ); |
