From: Michael Kerrisk Date: Tue, 26 May 2020 11:09:31 +0000 (+0200) Subject: pipe.2, socketpair.2, dlopen.3, posix_memalign.3, signal-safety.7: Correct bogus... X-Git-Tag: man-pages-5.07~45 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fman-pages.git;a=commitdiff_plain;h=5dbd04b5f939b515cb4b153ad7018f94d94b60ba pipe.2, socketpair.2, dlopen.3, posix_memalign.3, signal-safety.7: Correct bogus POSIX.1 standards names POSIX.1-2003 ==> POSIX.1-2001 TC1 POSIX.1-2004 ==> POSIX.1-2001 TC2 POSIX.1-2013 ==> POSIX.1-2008 TC1 POSIX.1-2016 ==> POSIX.1-2008 TC2 Signed-off-by: Michael Kerrisk --- diff --git a/man2/pipe.2 b/man2/pipe.2 index bbd5cff92a..ca0af8e389 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -159,7 +159,7 @@ On Linux (and other systems), does not modify .I pipefd on failure. -A requirement standardizing this behavior was added in POSIX.1-2016. +A requirement standardizing this behavior was added in POSIX.1-2008 TC2. .\" http://austingroupbugs.net/view.php?id=467 The Linux-specific .BR pipe2 () diff --git a/man2/socketpair.2 b/man2/socketpair.2 index 3a65282c1a..30faa3b8d2 100644 --- a/man2/socketpair.2 +++ b/man2/socketpair.2 @@ -79,7 +79,7 @@ On Linux (and other systems), does not modify .I sv on failure. -A requirement standardizing this behavior was added in POSIX.1-2016. +A requirement standardizing this behavior was added in POSIX.1-2008 TC2. .\" http://austingroupbugs.net/view.php?id=483 .SH ERRORS .TP diff --git a/man3/dlopen.3 b/man3/dlopen.3 index b657e5ea93..3bf2251549 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -593,11 +593,11 @@ main(void) This (clumsy) cast conforms with the ISO C standard and will avoid any compiler warnings. - The 2013 Technical Corrigendum to POSIX.1-2008 (a.k.a. - POSIX.1-2013) improved matters by requiring that conforming - implementations support casting 'void *' to a function pointer. - Nevertheless, some compilers (e.g., gcc with the '-pedantic' - option) may complain about the cast used in this program. */ + The 2013 Technical Corrigendum 1 to POSIX.1-2008 improved matters + by requiring that conforming implementations support casting + 'void *' to a function pointer. Nevertheless, some compilers + (e.g., gcc with the '-pedantic' option) may complain about the + cast used in this program. */ .\" http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html#tag_03_112_08 .\" http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html#tag_16_96_07 .\" http://austingroupbugs.net/view.php?id=74 diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index d6ce27155c..22b4498202 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -159,7 +159,7 @@ On Linux (and other systems), does not modify .I memptr on failure. -A requirement standardizing this behavior was added in POSIX.1-2016. +A requirement standardizing this behavior was added in POSIX.1-2008 TC2. .\" http://austingroupbugs.net/view.php?id=520 .SH ERRORS .TP diff --git a/man7/signal-safety.7 b/man7/signal-safety.7 index 451d07862b..c04b53494d 100644 --- a/man7/signal-safety.7 +++ b/man7/signal-safety.7 @@ -93,7 +93,7 @@ the table details changes in the subsequent standards. lb lb l l. Function Notes -\fBabort\fP(3) Added in POSIX.1-2003 +\fBabort\fP(3) Added in POSIX.1-2001 TC1 \fBaccept\fP(2) \fBaccess\fP(2) \fBaio_error\fP(3) @@ -121,7 +121,7 @@ Function Notes \fB_exit\fP(2) \fB_Exit\fP(2) \fBfaccessat\fP(2) Added in POSIX.1-2008 -\fBfchdir\fP(2) Added in POSIX.1-2013 +\fBfchdir\fP(2) Added in POSIX.1-2008 TC1 \fBfchmod\fP(2) \fBfchmodat\fP(2) Added in POSIX.1-2008 \fBfchown\fP(2) @@ -129,7 +129,7 @@ Function Notes \fBfcntl\fP(2) \fBfdatasync\fP(2) \fBfexecve\fP(3) Added in POSIX.1-2008 -\fBffs\fP(3) Added in POSIX.1-2016 +\fBffs\fP(3) Added in POSIX.1-2008 TC2 \fBfork\fP(2) See notes below \fBfstat\fP(2) \fBfstatat\fP(2) Added in POSIX.1-2008 @@ -147,29 +147,29 @@ Function Notes \fBgetsockname\fP(2) \fBgetsockopt\fP(2) \fBgetuid\fP(2) -\fBhtonl\fP(3) Added in POSIX.1-2016 -\fBhtons\fP(3) Added in POSIX.1-2016 +\fBhtonl\fP(3) Added in POSIX.1-2008 TC2 +\fBhtons\fP(3) Added in POSIX.1-2008 TC2 \fBkill\fP(2) \fBlink\fP(2) \fBlinkat\fP(2) Added in POSIX.1-2008 \fBlisten\fP(2) -\fBlongjmp\fP(3) Added in POSIX.1-2016; see notes below +\fBlongjmp\fP(3) Added in POSIX.1-2008 TC2; see notes below \fBlseek\fP(2) \fBlstat\fP(2) -\fBmemccpy\fP(3) Added in POSIX.1-2016 -\fBmemchr\fP(3) Added in POSIX.1-2016 -\fBmemcmp\fP(3) Added in POSIX.1-2016 -\fBmemcpy\fP(3) Added in POSIX.1-2016 -\fBmemmove\fP(3) Added in POSIX.1-2016 -\fBmemset\fP(3) Added in POSIX.1-2016 +\fBmemccpy\fP(3) Added in POSIX.1-2008 TC2 +\fBmemchr\fP(3) Added in POSIX.1-2008 TC2 +\fBmemcmp\fP(3) Added in POSIX.1-2008 TC2 +\fBmemcpy\fP(3) Added in POSIX.1-2008 TC2 +\fBmemmove\fP(3) Added in POSIX.1-2008 TC2 +\fBmemset\fP(3) Added in POSIX.1-2008 TC2 \fBmkdir\fP(2) \fBmkdirat\fP(2) Added in POSIX.1-2008 \fBmkfifo\fP(3) \fBmkfifoat\fP(3) Added in POSIX.1-2008 \fBmknod\fP(2) Added in POSIX.1-2008 \fBmknodat\fP(2) Added in POSIX.1-2008 -\fBntohl\fP(3) Added in POSIX.1-2016 -\fBntohs\fP(3) Added in POSIX.1-2016 +\fBntohl\fP(3) Added in POSIX.1-2008 TC2 +\fBntohs\fP(3) Added in POSIX.1-2008 TC2 \fBopen\fP(2) \fBopenat\fP(2) Added in POSIX.1-2008 \fBpause\fP(2) @@ -177,9 +177,9 @@ Function Notes \fBpoll\fP(2) \fBposix_trace_event\fP(3) \fBpselect\fP(2) -\fBpthread_kill\fP(3) Added in POSIX.1-2013 -\fBpthread_self\fP(3) Added in POSIX.1-2013 -\fBpthread_sigmask\fP(3) Added in POSIX.1-2013 +\fBpthread_kill\fP(3) Added in POSIX.1-2008 TC1 +\fBpthread_self\fP(3) Added in POSIX.1-2008 TC1 +\fBpthread_sigmask\fP(3) Added in POSIX.1-2008 TC1 \fBraise\fP(3) \fBread\fP(2) \fBreadlink\fP(2) @@ -207,7 +207,7 @@ Function Notes \fBsigemptyset\fP(3) \fBsigfillset\fP(3) \fBsigismember\fP(3) -\fBsiglongjmp\fP(3) Added in POSIX.1-2016; see notes below +\fBsiglongjmp\fP(3) Added in POSIX.1-2008 TC2; see notes below \fBsignal\fP(2) \fBsigpause\fP(3) \fBsigpending\fP(2) @@ -216,27 +216,27 @@ Function Notes \fBsigset\fP(3) \fBsigsuspend\fP(2) \fBsleep\fP(3) -\fBsockatmark\fP(3) Added in POSIX.1-2004 +\fBsockatmark\fP(3) Added in POSIX.1-2001 TC2 \fBsocket\fP(2) \fBsocketpair\fP(2) \fBstat\fP(2) -\fBstpcpy\fP(3) Added in POSIX.1-2016 -\fBstpncpy\fP(3) Added in POSIX.1-2016 -\fBstrcat\fP(3) Added in POSIX.1-2016 -\fBstrchr\fP(3) Added in POSIX.1-2016 -\fBstrcmp\fP(3) Added in POSIX.1-2016 -\fBstrcpy\fP(3) Added in POSIX.1-2016 -\fBstrcspn\fP(3) Added in POSIX.1-2016 -\fBstrlen\fP(3) Added in POSIX.1-2016 -\fBstrncat\fP(3) Added in POSIX.1-2016 -\fBstrncmp\fP(3) Added in POSIX.1-2016 -\fBstrncpy\fP(3) Added in POSIX.1-2016 -\fBstrnlen\fP(3) Added in POSIX.1-2016 -\fBstrpbrk\fP(3) Added in POSIX.1-2016 -\fBstrrchr\fP(3) Added in POSIX.1-2016 -\fBstrspn\fP(3) Added in POSIX.1-2016 -\fBstrstr\fP(3) Added in POSIX.1-2016 -\fBstrtok_r\fP(3) Added in POSIX.1-2016 +\fBstpcpy\fP(3) Added in POSIX.1-2008 TC2 +\fBstpncpy\fP(3) Added in POSIX.1-2008 TC2 +\fBstrcat\fP(3) Added in POSIX.1-2008 TC2 +\fBstrchr\fP(3) Added in POSIX.1-2008 TC2 +\fBstrcmp\fP(3) Added in POSIX.1-2008 TC2 +\fBstrcpy\fP(3) Added in POSIX.1-2008 TC2 +\fBstrcspn\fP(3) Added in POSIX.1-2008 TC2 +\fBstrlen\fP(3) Added in POSIX.1-2008 TC2 +\fBstrncat\fP(3) Added in POSIX.1-2008 TC2 +\fBstrncmp\fP(3) Added in POSIX.1-2008 TC2 +\fBstrncpy\fP(3) Added in POSIX.1-2008 TC2 +\fBstrnlen\fP(3) Added in POSIX.1-2008 TC2 +\fBstrpbrk\fP(3) Added in POSIX.1-2008 TC2 +\fBstrrchr\fP(3) Added in POSIX.1-2008 TC2 +\fBstrspn\fP(3) Added in POSIX.1-2008 TC2 +\fBstrstr\fP(3) Added in POSIX.1-2008 TC2 +\fBstrtok_r\fP(3) Added in POSIX.1-2008 TC2 \fBsymlink\fP(2) \fBsymlinkat\fP(2) Added in POSIX.1-2008 \fBtcdrain\fP(3) @@ -261,34 +261,34 @@ Function Notes \fButimes\fP(2) Added in POSIX.1-2008 \fBwait\fP(2) \fBwaitpid\fP(2) -\fBwcpcpy\fP(3) Added in POSIX.1-2016 -\fBwcpncpy\fP(3) Added in POSIX.1-2016 -\fBwcscat\fP(3) Added in POSIX.1-2016 -\fBwcschr\fP(3) Added in POSIX.1-2016 -\fBwcscmp\fP(3) Added in POSIX.1-2016 -\fBwcscpy\fP(3) Added in POSIX.1-2016 -\fBwcscspn\fP(3) Added in POSIX.1-2016 -\fBwcslen\fP(3) Added in POSIX.1-2016 -\fBwcsncat\fP(3) Added in POSIX.1-2016 -\fBwcsncmp\fP(3) Added in POSIX.1-2016 -\fBwcsncpy\fP(3) Added in POSIX.1-2016 -\fBwcsnlen\fP(3) Added in POSIX.1-2016 -\fBwcspbrk\fP(3) Added in POSIX.1-2016 -\fBwcsrchr\fP(3) Added in POSIX.1-2016 -\fBwcsspn\fP(3) Added in POSIX.1-2016 -\fBwcsstr\fP(3) Added in POSIX.1-2016 -\fBwcstok\fP(3) Added in POSIX.1-2016 -\fBwmemchr\fP(3) Added in POSIX.1-2016 -\fBwmemcmp\fP(3) Added in POSIX.1-2016 -\fBwmemcpy\fP(3) Added in POSIX.1-2016 -\fBwmemmove\fP(3) Added in POSIX.1-2016 -\fBwmemset\fP(3) Added in POSIX.1-2016 +\fBwcpcpy\fP(3) Added in POSIX.1-2008 TC2 +\fBwcpncpy\fP(3) Added in POSIX.1-2008 TC2 +\fBwcscat\fP(3) Added in POSIX.1-2008 TC2 +\fBwcschr\fP(3) Added in POSIX.1-2008 TC2 +\fBwcscmp\fP(3) Added in POSIX.1-2008 TC2 +\fBwcscpy\fP(3) Added in POSIX.1-2008 TC2 +\fBwcscspn\fP(3) Added in POSIX.1-2008 TC2 +\fBwcslen\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsncat\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsncmp\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsncpy\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsnlen\fP(3) Added in POSIX.1-2008 TC2 +\fBwcspbrk\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsrchr\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsspn\fP(3) Added in POSIX.1-2008 TC2 +\fBwcsstr\fP(3) Added in POSIX.1-2008 TC2 +\fBwcstok\fP(3) Added in POSIX.1-2008 TC2 +\fBwmemchr\fP(3) Added in POSIX.1-2008 TC2 +\fBwmemcmp\fP(3) Added in POSIX.1-2008 TC2 +\fBwmemcpy\fP(3) Added in POSIX.1-2008 TC2 +\fBwmemmove\fP(3) Added in POSIX.1-2008 TC2 +\fBwmemset\fP(3) Added in POSIX.1-2008 TC2 \fBwrite\fP(2) .TE .sp 1 Notes: .IP * 3 -POSIX.1-2001 and POSIX.1-2004 required the functions +POSIX.1-2001 and POSIX.1-2001 TC2 required the functions .BR fpathconf (3), .BR pathconf (3), and @@ -303,7 +303,7 @@ or and the program subsequently calls an unsafe function, then the behavior of the program is undefined. .IP * -POSIX.1-2003 clarified +POSIX.1-2001 TC1 clarified that if an application calls .BR fork (2) from a signal handler and any of the fork handlers registered by