diff options
165 files changed, 636 insertions, 636 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 8d90baaaab..ae514e622e 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -307,8 +307,6 @@ specified. .B EPERM .BR clock_settime () does not have permission to set the clock indicated. -.SH VERSIONS -These system calls first appeared in Linux 2.6. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -328,6 +326,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These system calls first appeared in Linux 2.6. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SUSv2. .PP diff --git a/man2/eventfd.2 b/man2/eventfd.2 index 5f25ca82b0..169ca9d1cd 100644 --- a/man2/eventfd.2 +++ b/man2/eventfd.2 @@ -246,19 +246,6 @@ Could not mount (internal) anonymous inode device. .B ENOMEM There was insufficient memory to create a new eventfd file descriptor. -.SH VERSIONS -.BR eventfd () -is available since Linux 2.6.22. -Working support is provided since glibc 2.8. -.\" eventfd() is in glibc 2.7, but reportedly does not build -The -.BR eventfd2 () -system call (see NOTES) is available since Linux 2.6.27. -Since glibc 2.9, the -.BR eventfd () -wrapper will employ the -.BR eventfd2 () -system call, if it is supported by the kernel. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -276,6 +263,19 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR eventfd () +is available since Linux 2.6.22. +Working support is provided since glibc 2.8. +.\" eventfd() is in glibc 2.7, but reportedly does not build +The +.BR eventfd2 () +system call (see NOTES) is available since Linux 2.6.27. +Since glibc 2.9, the +.BR eventfd () +wrapper will employ the +.BR eventfd2 () +system call, if it is supported by the kernel. .SH STANDARDS .BR eventfd () and diff --git a/man2/getrlimit.2 b/man2/getrlimit.2 index 9b361df95b..700fd64381 100644 --- a/man2/getrlimit.2 +++ b/man2/getrlimit.2 @@ -540,11 +540,6 @@ for the process specified by .B ESRCH Could not find a process with the ID specified in .IR pid . -.SH VERSIONS -The -.BR prlimit () -system call is available since Linux 2.6.36. -Library support is available since glibc 2.13. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -564,6 +559,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR prlimit () +system call is available since Linux 2.6.36. +Library support is available since glibc 2.13. .SH STANDARDS .BR getrlimit (), .BR setrlimit (): diff --git a/man2/utimensat.2 b/man2/utimensat.2 index c2e6a91649..803828e31f 100644 --- a/man2/utimensat.2 +++ b/man2/utimensat.2 @@ -368,14 +368,6 @@ The file is on a read-only filesystem. .RB ( utimensat ()) Search permission is denied for one of the prefix components of .IR pathname . -.SH VERSIONS -.BR utimensat () -was added in Linux 2.6.22; -glibc support was added with glibc 2.6. -.PP -Support for -.BR futimens () -first appeared in glibc 2.6. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -394,6 +386,14 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR utimensat () +was added in Linux 2.6.22; +glibc support was added with glibc 2.6. +.PP +Support for +.BR futimens () +first appeared in glibc 2.6. .SH STANDARDS .BR futimens () and diff --git a/man3/__ppc_set_ppr_med.3 b/man3/__ppc_set_ppr_med.3 index dcd2f74525..474b0fdff0 100644 --- a/man3/__ppc_set_ppr_med.3 +++ b/man3/__ppc_set_ppr_med.3 @@ -62,18 +62,6 @@ sets the Program Priority to If the program priority is medium high when the time interval expires or if an attempt is made to set the priority to medium high when it is not allowed, the priority is set to medium. -.SH VERSIONS -The functions -.BR __ppc_set_ppr_med (), -.BR __ppc_set_ppr_low (), -and -.BR __ppc_set_ppr_med_low () -are provided since glibc 2.18. -The functions -.BR __ppc_set_ppr_very_low () -and -.BR __ppc_set_ppr_med_high () -first appeared in glibc 2.23. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -95,6 +83,18 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The functions +.BR __ppc_set_ppr_med (), +.BR __ppc_set_ppr_low (), +and +.BR __ppc_set_ppr_med_low () +are provided since glibc 2.18. +The functions +.BR __ppc_set_ppr_very_low () +and +.BR __ppc_set_ppr_med_high () +first appeared in glibc 2.23. .SH STANDARDS These functions are nonstandard GNU extensions. .SH NOTES diff --git a/man3/__ppc_yield.3 b/man3/__ppc_yield.3 index b2f2463b37..d802fa1f48 100644 --- a/man3/__ppc_yield.3 +++ b/man3/__ppc_yield.3 @@ -41,8 +41,6 @@ provides a hint that performance will probably be improved if shared resources dedicated to the executing processor are released until all outstanding storage accesses to cacheable storage for which the data is not in the cache have been completed. -.SH VERSIONS -These functions first appeared in glibc 2.18. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -62,6 +60,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions first appeared in glibc 2.18. .SH STANDARDS These functions are nonstandard GNU extensions. .SH SEE ALSO diff --git a/man3/addseverity.3 b/man3/addseverity.3 index b61a350827..0e4e626fc6 100644 --- a/man3/addseverity.3 +++ b/man3/addseverity.3 @@ -61,9 +61,6 @@ Upon error, the return value is .BR MM_NOTOK . Possible errors include: out of memory, attempt to remove a nonexistent or default severity class. -.SH VERSIONS -.BR addseverity () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -81,6 +78,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR addseverity () +is provided since glibc 2.1. .SH STANDARDS This function is not specified in the X/Open Portability Guide although the diff --git a/man3/aio_cancel.3 b/man3/aio_cancel.3 index a98b8d3861..a01909e4ec 100644 --- a/man3/aio_cancel.3 +++ b/man3/aio_cancel.3 @@ -92,10 +92,6 @@ is not a valid file descriptor. .B ENOSYS .BR aio_cancel () is not implemented. -.SH VERSIONS -The -.BR aio_cancel () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -113,6 +109,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_cancel () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/aio_error.3 b/man3/aio_error.3 index 0f56060d34..efb04957b1 100644 --- a/man3/aio_error.3 +++ b/man3/aio_error.3 @@ -62,10 +62,6 @@ has not been retrieved yet. .B ENOSYS .BR aio_error () is not implemented. -.SH VERSIONS -The -.BR aio_error () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -83,6 +79,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_error () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/aio_fsync.3 b/man3/aio_fsync.3 index 7aa0f6f3ea..1a12a549fb 100644 --- a/man3/aio_fsync.3 +++ b/man3/aio_fsync.3 @@ -81,10 +81,6 @@ or .B ENOSYS .BR aio_fsync () is not implemented. -.SH VERSIONS -The -.BR aio_fsync () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -102,6 +98,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_fsync () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/aio_read.3 b/man3/aio_read.3 index d4cbbe5ef7..ecdbd1081a 100644 --- a/man3/aio_read.3 +++ b/man3/aio_read.3 @@ -114,10 +114,6 @@ is not implemented. The file is a regular file, we start reading before end-of-file and want at least one byte, but the starting position is past the maximum offset for this file. -.SH VERSIONS -The -.BR aio_read () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -135,6 +131,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_read () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/aio_return.3 b/man3/aio_return.3 index 4074b4ca2b..4b91794132 100644 --- a/man3/aio_return.3 +++ b/man3/aio_return.3 @@ -56,10 +56,6 @@ of which the return status has not been retrieved yet. .B ENOSYS .BR aio_return () is not implemented. -.SH VERSIONS -The -.BR aio_return () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -77,6 +73,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_return () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/aio_suspend.3 b/man3/aio_suspend.3 index 32a08c5107..57ef7d344d 100644 --- a/man3/aio_suspend.3 +++ b/man3/aio_suspend.3 @@ -82,10 +82,6 @@ waiting for); see .B ENOSYS .BR aio_suspend () is not implemented. -.SH VERSIONS -The -.BR aio_suspend () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -103,6 +99,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_suspend () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/aio_write.3 b/man3/aio_write.3 index b96a9fd3bb..11a302ee41 100644 --- a/man3/aio_write.3 +++ b/man3/aio_write.3 @@ -119,10 +119,6 @@ are invalid. .B ENOSYS .BR aio_write () is not implemented. -.SH VERSIONS -The -.BR aio_write () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -140,6 +136,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR aio_write () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/backtrace.3 b/man3/backtrace.3 index c98d3eb1bb..4d23f71f66 100644 --- a/man3/backtrace.3 +++ b/man3/backtrace.3 @@ -130,12 +130,6 @@ returns a pointer to the array .BR malloc (3)ed by the call; on error, NULL is returned. -.SH VERSIONS -.BR backtrace (), -.BR backtrace_symbols (), -and -.BR backtrace_symbols_fd () -are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -155,6 +149,12 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR backtrace (), +.BR backtrace_symbols (), +and +.BR backtrace_symbols_fd () +are provided since glibc 2.1. .SH STANDARDS These functions are GNU extensions. .SH NOTES diff --git a/man3/bzero.3 b/man3/bzero.3 index 0d7171bf8a..1b203fef63 100644 --- a/man3/bzero.3 +++ b/man3/bzero.3 @@ -38,9 +38,6 @@ in that it guarantees that compiler optimizations will not remove the erase operation if the compiler deduces that the operation is "unnecessary". .SH RETURN VALUE None. -.SH VERSIONS -.BR explicit_bzero () -first appeared in glibc 2.25. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -59,6 +56,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR explicit_bzero () +first appeared in glibc 2.25. .SH STANDARDS The .BR bzero () diff --git a/man3/cabs.3 b/man3/cabs.3 index b0e601a7ff..1cd489aed0 100644 --- a/man3/cabs.3 +++ b/man3/cabs.3 @@ -21,8 +21,6 @@ Math library These functions return the absolute value of the complex number .IR z . The result is a real number. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -42,6 +40,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/cacos.3 b/man3/cacos.3 index bed6753dcc..554553b595 100644 --- a/man3/cacos.3 +++ b/man3/cacos.3 @@ -31,8 +31,6 @@ One has: .nf cacos(z) = \-i * clog(z + i * csqrt(1 \- z * z)) .fi -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -52,6 +50,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/cacosh.3 b/man3/cacosh.3 index 1f5d6f0050..3aa69baba5 100644 --- a/man3/cacosh.3 +++ b/man3/cacosh.3 @@ -34,8 +34,6 @@ One has: .nf cacosh(z) = 2 * clog(csqrt((z + 1) / 2) + csqrt((z \- 1) / 2)) .fi -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -55,6 +53,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/carg.3 b/man3/carg.3 index 41c9583a7e..f90873278e 100644 --- a/man3/carg.3 +++ b/man3/carg.3 @@ -62,8 +62,6 @@ tan(carg(z)) = cimag(z) / creal(z) .in .SH RETURN VALUE The return value is in the range of [\-pi,pi]. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -83,6 +81,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/casin.3 b/man3/casin.3 index 041122dd8b..04d77918f5 100644 --- a/man3/casin.3 +++ b/man3/casin.3 @@ -30,8 +30,6 @@ One has: .nf casin(z) = \-i clog(iz + csqrt(1 \- z * z)) .fi -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -51,6 +49,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/casinh.3 b/man3/casinh.3 index 5cb3316756..3aab28abc5 100644 --- a/man3/casinh.3 +++ b/man3/casinh.3 @@ -32,8 +32,6 @@ One has: casinh(z) = clog(z + csqrt(z * z + 1)) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -53,6 +51,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/catan.3 b/man3/catan.3 index 9b37bc8b1c..244bea87ad 100644 --- a/man3/catan.3 +++ b/man3/catan.3 @@ -31,8 +31,6 @@ One has: catan(z) = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -52,6 +50,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/catanh.3 b/man3/catanh.3 index a1dc0e7411..1f590a65e2 100644 --- a/man3/catanh.3 +++ b/man3/catanh.3 @@ -33,8 +33,6 @@ One has: catanh(z) = 0.5 * (clog(1 + z) \- clog(1 \- z)) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -54,6 +52,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/ccos.3 b/man3/ccos.3 index dedc771a91..6193a3384a 100644 --- a/man3/ccos.3 +++ b/man3/ccos.3 @@ -28,8 +28,6 @@ The complex cosine function is defined as: ccos(z) = (exp(i * z) + exp(\-i * z)) / 2 .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -49,6 +47,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/cexp.3 b/man3/cexp.3 index 1b2867c108..0fc6daf535 100644 --- a/man3/cexp.3 +++ b/man3/cexp.3 @@ -29,8 +29,6 @@ One has: cexp(I * z) = ccos(z) + I * csin(z) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -50,6 +48,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/cfree.3 b/man3/cfree.3 index 067b800175..f4e3d1f534 100644 --- a/man3/cfree.3 +++ b/man3/cfree.3 @@ -104,12 +104,6 @@ was not a pointer to a block previously allocated by one of the routines in the .BR malloc (3) family. -.SH VERSIONS -The -.BR cfree () -function was removed -.\" commit 025b33ae84bb8f15b2748a1d8605dca453fce112 -in glibc 2.26. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -127,6 +121,12 @@ T} Thread safety MT-Safe /* In glibc */ .hy .ad .sp 1 +.SH VERSIONS +The +.BR cfree () +function was removed +.\" commit 025b33ae84bb8f15b2748a1d8605dca453fce112 +in glibc 2.26. .SH STANDARDS The 3-argument version of .BR cfree () diff --git a/man3/cimag.3 b/man3/cimag.3 index 4304117f38..026915ff13 100644 --- a/man3/cimag.3 +++ b/man3/cimag.3 @@ -28,8 +28,6 @@ One has: z = creal(z) + I * cimag(z) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -49,6 +47,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/clearenv.3 b/man3/clearenv.3 index fce05363ae..078b447ec8 100644 --- a/man3/clearenv.3 +++ b/man3/clearenv.3 @@ -45,8 +45,6 @@ function returns zero on success, and a nonzero value on failure. .\" Most versions of UNIX return -1 on error, or do not even have errors. .\" glibc info and the Watcom C library document "a nonzero value". -.SH VERSIONS -Available since glibc 2.0. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -64,6 +62,8 @@ T} Thread safety MT-Unsafe const:env .hy .ad .sp 1 +.SH VERSIONS +Available since glibc 2.0. .SH STANDARDS Various UNIX variants (DG/UX, HP-UX, QNX, ...). POSIX.9 (bindings for FORTRAN77). diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3 index bcc2d981e5..1a5dccb9b5 100644 --- a/man3/clock_getcpuclockid.3 +++ b/man3/clock_getcpuclockid.3 @@ -67,10 +67,6 @@ obtaining the per-process CPU-time clock of another process.) .B ESRCH There is no process with the ID .IR pid . -.SH VERSIONS -The -.BR clock_getcpuclockid () -function is available since glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -88,6 +84,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR clock_getcpuclockid () +function is available since glibc 2.2. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/clog.3 b/man3/clog.3 index d64f1f071c..3eba791c70 100644 --- a/man3/clog.3 +++ b/man3/clog.3 @@ -42,8 +42,6 @@ clog(z) = log(cabs(z)) + I * carg(z) Note that .I z close to zero will cause an overflow. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -63,6 +61,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/clog10.3 b/man3/clog10.3 index cee332ef9f..ba3f865da9 100644 --- a/man3/clog10.3 +++ b/man3/clog10.3 @@ -45,8 +45,6 @@ and Note that .I z close to zero will cause an overflow. -.SH VERSIONS -These functions first appeared in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -66,6 +64,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions first appeared in glibc 2.1. .SH STANDARDS These functions are GNU extensions. The identifiers are reserved for future use in C99 and C11. diff --git a/man3/conj.3 b/man3/conj.3 index 1800496e47..941c445362 100644 --- a/man3/conj.3 +++ b/man3/conj.3 @@ -29,8 +29,6 @@ One has: cabs(z) = csqrt(z * conj(z)) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -50,6 +48,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/cpow.3 b/man3/cpow.3 index 2fd09c5fb8..e69d34e8ce 100644 --- a/man3/cpow.3 +++ b/man3/cpow.3 @@ -26,8 +26,6 @@ raised to the power (with a branch cut for .I x along the negative real axis). -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -47,6 +45,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/cproj.3 b/man3/cproj.3 index c5ab0be61c..b05e98a725 100644 --- a/man3/cproj.3 +++ b/man3/cproj.3 @@ -27,8 +27,6 @@ projects to itself. Every complex infinite value is projected to a single infinite value, namely to positive infinity on the real axis. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -48,6 +46,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/creal.3 b/man3/creal.3 index 83e368865e..8fe7f5a51a 100644 --- a/man3/creal.3 +++ b/man3/creal.3 @@ -26,8 +26,6 @@ One has: .nf z = creal(z) + I * cimag(z) .fi -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -47,6 +45,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/csin.3 b/man3/csin.3 index 7d080fba88..3119535ca1 100644 --- a/man3/csin.3 +++ b/man3/csin.3 @@ -28,8 +28,6 @@ The complex sine function is defined as: csin(z) = (exp(i * z) \- exp(\-i * z)) / (2 * i) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -49,6 +47,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/csinh.3 b/man3/csinh.3 index 2b070b76b3..b8f5d5a9f0 100644 --- a/man3/csinh.3 +++ b/man3/csinh.3 @@ -28,8 +28,6 @@ The complex hyperbolic sine function is defined as: csinh(z) = (exp(z)\-exp(\-z))/2 .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -49,6 +47,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/csqrt.3 b/man3/csqrt.3 index 7630e4ea6c..b9cf8ba610 100644 --- a/man3/csqrt.3 +++ b/man3/csqrt.3 @@ -24,8 +24,6 @@ with a branch cut along the negative real axis. (That means that \fIcsqrt(\-1+eps*I)\fP will be close to I while \fIcsqrt(\-1\-eps*I)\fP will be close to \-I, \fIif eps\fP is a small positive real number.) -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -45,6 +43,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/ctan.3 b/man3/ctan.3 index e0c156d739..9caaf42d63 100644 --- a/man3/ctan.3 +++ b/man3/ctan.3 @@ -28,8 +28,6 @@ The complex tangent function is defined as: ctan(z) = csin(z) / ccos(z) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -49,6 +47,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/ctanh.3 b/man3/ctanh.3 index 10317892c8..9eb02dd252 100644 --- a/man3/ctanh.3 +++ b/man3/ctanh.3 @@ -29,8 +29,6 @@ mathematically as: ctanh(z) = csinh(z) / ccosh(z) .EE .in -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -50,6 +48,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/des_crypt.3 b/man3/des_crypt.3 index 4f1385efb1..e486d92a5f 100644 --- a/man3/des_crypt.3 +++ b/man3/des_crypt.3 @@ -129,19 +129,6 @@ the macro is false only for the first two statuses. .\" So far the Sun page .\" Some additions - aeb -.SH VERSIONS -These functions were added in glibc 2.1. -.PP -Because they employ the DES block cipher, -which is no longer considered secure, -.BR ecb_crypt (), -.BR ecb_crypt (), -.BR crypt_r (), -and -.BR des_setparity () -were removed in glibc 2.28. -Applications should switch to a modern cryptography library, such as -.BR libgcrypt . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -161,6 +148,19 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. +.PP +Because they employ the DES block cipher, +which is no longer considered secure, +.BR ecb_crypt (), +.BR ecb_crypt (), +.BR crypt_r (), +and +.BR des_setparity () +were removed in glibc 2.28. +Applications should switch to a modern cryptography library, such as +.BR libgcrypt . .SH STANDARDS 4.3BSD. Not in POSIX.1. diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3 index 5a363c7888..0b65919bf8 100644 --- a/man3/dl_iterate_phdr.3 +++ b/man3/dl_iterate_phdr.3 @@ -182,9 +182,6 @@ The .BR dl_iterate_phdr () function returns whatever value was returned by the last call to .IR callback . -.SH VERSIONS -.BR dl_iterate_phdr () -has been supported since glibc 2.2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -202,6 +199,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dl_iterate_phdr () +has been supported since glibc 2.2.4. .SH STANDARDS The .BR dl_iterate_phdr () diff --git a/man3/dladdr.3 b/man3/dladdr.3 index b8231298b3..77b7b9afec 100644 --- a/man3/dladdr.3 +++ b/man3/dladdr.3 @@ -213,11 +213,6 @@ In this case, an error message is .\" error via dlerror() for this case. available via .BR dlerror (3). -.SH VERSIONS -.BR dladdr () -is present in glibc 2.0 and later. -.BR dladdr1 () -first appeared in glibc 2.3.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -236,6 +231,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dladdr () +is present in glibc 2.0 and later. +.BR dladdr1 () +first appeared in glibc 2.3.3. .SH STANDARDS These functions are nonstandard GNU extensions that are also present on Solaris. diff --git a/man3/dlerror.3 b/man3/dlerror.3 index a8cd95e5f7..3265dfcf34 100644 --- a/man3/dlerror.3 +++ b/man3/dlerror.3 @@ -31,9 +31,6 @@ include a trailing newline. .BR dlerror () returns NULL if no errors have occurred since initialization or since it was last called. -.SH VERSIONS -.BR dlerror () -is present in glibc 2.0 and later. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -51,6 +48,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dlerror () +is present in glibc 2.0 and later. .SH STANDARDS POSIX.1-2001. .SH NOTES diff --git a/man3/dlinfo.3 b/man3/dlinfo.3 index 83d2d2dba9..960265faf0 100644 --- a/man3/dlinfo.3 +++ b/man3/dlinfo.3 @@ -200,9 +200,6 @@ On success, returns 0. On failure, it returns \-1; the cause of the error can be diagnosed using .BR dlerror (3). -.SH VERSIONS -.BR dlinfo () -first appeared in glibc 2.3.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -220,6 +217,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dlinfo () +first appeared in glibc 2.3.3. .SH STANDARDS This function is a nonstandard GNU extension. .SH NOTES diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 5a97e510fd..3df952650a 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -346,13 +346,6 @@ returns 0; on error, it returns a nonzero value. .PP Errors from these functions can be diagnosed using .BR dlerror (3). -.SH VERSIONS -.BR dlopen () -and -.BR dlclose () -are present in glibc 2.0 and later. -.BR dlmopen () -first appeared in glibc 2.3.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -372,6 +365,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dlopen () +and +.BR dlclose () +are present in glibc 2.0 and later. +.BR dlmopen () +first appeared in glibc 2.3.4. .SH STANDARDS POSIX.1-2001 describes .BR dlclose () diff --git a/man3/dlsym.3 b/man3/dlsym.3 index 0d0e2d6102..de071d1f08 100644 --- a/man3/dlsym.3 +++ b/man3/dlsym.3 @@ -102,11 +102,6 @@ these functions return the address associated with On failure, they return NULL; the cause of the error can be diagnosed using .BR dlerror (3). -.SH VERSIONS -.BR dlsym () -is present in glibc 2.0 and later. -.BR dlvsym () -first appeared in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -125,6 +120,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR dlsym () +is present in glibc 2.0 and later. +.BR dlvsym () +first appeared in glibc 2.1. .SH STANDARDS POSIX.1-2001 describes .BR dlsym (). diff --git a/man3/encrypt.3 b/man3/encrypt.3 index 2557a5f259..c71a62e6e9 100644 --- a/man3/encrypt.3 +++ b/man3/encrypt.3 @@ -104,17 +104,6 @@ is unchanged. .B ENOSYS The function is not provided. (For example because of former USA export restrictions.) -.SH VERSIONS -Because they employ the DES block cipher, -which is no longer considered secure, -.BR encrypt (), -.BR encrypt_r (), -.BR setkey (), -and -.BR setkey_r () -were removed in glibc 2.28. -Applications should switch to a modern cryptography library, such as -.BR libgcrypt . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -137,6 +126,17 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +Because they employ the DES block cipher, +which is no longer considered secure, +.BR encrypt (), +.BR encrypt_r (), +.BR setkey (), +and +.BR setkey_r () +were removed in glibc 2.28. +Applications should switch to a modern cryptography library, such as +.BR libgcrypt . .SH STANDARDS .BR encrypt (), .BR setkey (): diff --git a/man3/euidaccess.3 b/man3/euidaccess.3 index f7ce935304..d17590bc00 100644 --- a/man3/euidaccess.3 +++ b/man3/euidaccess.3 @@ -50,10 +50,6 @@ is set to indicate the error. .SH ERRORS As for .BR access (2). -.SH VERSIONS -The -.BR eaccess () -function was added in glibc 2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -72,6 +68,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR eaccess () +function was added in glibc 2.4. .SH STANDARDS These functions are nonstandard. Some other systems have an diff --git a/man3/exec.3 b/man3/exec.3 index 3c65384595..d8c0e0712e 100644 --- a/man3/exec.3 +++ b/man3/exec.3 @@ -172,10 +172,6 @@ All of these functions may fail and set .I errno for any of the errors specified for .BR execve (2). -.SH VERSIONS -The -.BR execvpe () -function first appeared in glibc 2.11. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -200,6 +196,10 @@ T} Thread safety MT-Safe env .hy .ad .sp 1 +.SH VERSIONS +The +.BR execvpe () +function first appeared in glibc 2.11. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/exp10.3 b/man3/exp10.3 index 732b5a76cd..f739b8025b 100644 --- a/man3/exp10.3 +++ b/man3/exp10.3 @@ -47,8 +47,6 @@ when calling these functions. .PP For a discussion of the errors that can occur for these functions, see .BR exp (3). -.SH VERSIONS -These functions first appeared in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -68,6 +66,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions first appeared in glibc 2.1. .SH STANDARDS These functions are GNU extensions. .SH BUGS diff --git a/man3/exp2.3 b/man3/exp2.3 index e937f7aad7..574507df6a 100644 --- a/man3/exp2.3 +++ b/man3/exp2.3 @@ -58,8 +58,6 @@ when calling these functions. .PP For a discussion of the errors that can occur for these functions, see .BR exp (3). -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -79,6 +77,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/fdim.3 b/man3/fdim.3 index eed4edaf52..7eaacb0d72 100644 --- a/man3/fdim.3 +++ b/man3/fdim.3 @@ -65,8 +65,6 @@ is set to An overflow floating-point exception .RB ( FE_OVERFLOW ) is raised. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -86,6 +84,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH BUGS diff --git a/man3/fenv.3 b/man3/fenv.3 index cb3ca2537d..cbaa342fd4 100644 --- a/man3/fenv.3 +++ b/man3/fenv.3 @@ -240,8 +240,6 @@ These functions return zero on success and nonzero if an error occurred. .\" Earlier seven of these functions were listed as returning void. .\" This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E)) .\" of the C99 Standard. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -276,6 +274,8 @@ T} .ad .sp 1 .hy +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1-2001. .SH NOTES diff --git a/man3/fexecve.3 b/man3/fexecve.3 index 88c8bb984c..78d0efee99 100644 --- a/man3/fexecve.3 +++ b/man3/fexecve.3 @@ -78,9 +78,6 @@ The kernel does not provide the system call, and the .I /proc filesystem could not be accessed. -.SH VERSIONS -.BR fexecve () -is implemented since glibc 2.3.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -98,6 +95,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR fexecve () +is implemented since glibc 2.3.2. .SH STANDARDS POSIX.1-2008. This function is not specified in POSIX.1-2001, diff --git a/man3/fma.3 b/man3/fma.3 index e866aac714..e170136c81 100644 --- a/man3/fma.3 +++ b/man3/fma.3 @@ -141,8 +141,6 @@ These functions do not set .IR errno . .\" FIXME . Is it intentional that these functions do not set errno? .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6801 -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -162,6 +160,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/fmax.3 b/man3/fmax.3 index 5a66f4617f..5001084ec2 100644 --- a/man3/fmax.3 +++ b/man3/fmax.3 @@ -47,8 +47,6 @@ If one argument is a NaN, the other argument is returned. If both arguments are NaN, a NaN is returned. .SH ERRORS No errors occur. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -68,6 +66,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index 2b34bc2864..744865bc7c 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -147,9 +147,6 @@ pointer. Otherwise, NULL is returned and .I errno is set to indicate the error. -.SH VERSIONS -.BR fmemopen () -was already available in glibc 1.0.x. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -167,6 +164,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR fmemopen () +was already available in glibc 1.0.x. .SH STANDARDS POSIX.1-2008. This function is not specified in POSIX.1-2001, diff --git a/man3/fmin.3 b/man3/fmin.3 index 82dd035b50..d952bf1046 100644 --- a/man3/fmin.3 +++ b/man3/fmin.3 @@ -47,8 +47,6 @@ If one argument is a NaN, the other argument is returned. If both arguments are NaN, a NaN is returned. .SH ERRORS No errors occur. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -68,6 +66,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/fmtmsg.3 b/man3/fmtmsg.3 index 9eb3484a47..ec964948c6 100644 --- a/man3/fmtmsg.3 +++ b/man3/fmtmsg.3 @@ -218,9 +218,6 @@ any of the predefined classes. The printstring is the string printed when a message of this class is processed by .BR fmtmsg (). -.SH VERSIONS -.BR fmtmsg () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -252,6 +249,9 @@ Since glibc 2.16, the .BR fmtmsg () function uses a lock to protect the static variable, so it is thread-safe. +.SH VERSIONS +.BR fmtmsg () +is provided since glibc 2.1. .SH STANDARDS The functions .BR fmtmsg () diff --git a/man3/fseeko.3 b/man3/fseeko.3 index e0d7c0b764..fbd58863c0 100644 --- a/man3/fseeko.3 +++ b/man3/fseeko.3 @@ -73,8 +73,6 @@ is set to indicate the error. .SH ERRORS See the ERRORS in .BR fseek (3). -.SH VERSIONS -These functions are available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -93,6 +91,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SUSv2. .SH NOTES diff --git a/man3/ftime.3 b/man3/ftime.3 index cc86eece43..5e6430f647 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -60,15 +60,6 @@ fields are unspecified; avoid relying on them. .SH RETURN VALUE This function always returns 0. (POSIX.1-2001 specifies, and some systems document, a \-1 error return.) -.SH VERSIONS -Starting with glibc 2.33, the -.BR ftime () -function and the -.I <sys/timeb.h> -header have been removed. -To support old binaries, -glibc continues to provide a compatibility symbol for -applications linked against glibc 2.32 and earlier. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -86,6 +77,15 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +Starting with glibc 2.33, the +.BR ftime () +function and the +.I <sys/timeb.h> +header have been removed. +To support old binaries, +glibc continues to provide a compatibility symbol for +applications linked against glibc 2.32 and earlier. .SH STANDARDS 4.2BSD, POSIX.1-2001. POSIX.1-2008 removes the specification of diff --git a/man3/fts.3 b/man3/fts.3 index 9157bd18cc..bf17849b9b 100644 --- a/man3/fts.3 +++ b/man3/fts.3 @@ -759,8 +759,6 @@ as follows: or .I instr was invalid. -.SH VERSIONS -These functions are available in Linux since glibc2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -784,6 +782,8 @@ T} Thread safety MT-Unsafe .hy .ad .sp 1 +.SH VERSIONS +These functions are available in Linux since glibc2. .SH STANDARDS 4.4BSD. .SH BUGS diff --git a/man3/ftw.3 b/man3/ftw.3 index 4c14e14899..561d27dd9f 100644 --- a/man3/ftw.3 +++ b/man3/ftw.3 @@ -350,9 +350,6 @@ then the only nonzero value that should be used by \fIfn\fP() to terminate the tree walk is \fBFTW_STOP\fP, and that value is returned as the result of .BR nftw (). -.SH VERSIONS -.BR nftw () -is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -373,6 +370,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR nftw () +is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SVr4, SUSv1. POSIX.1-2008 marks diff --git a/man3/futimes.3 b/man3/futimes.3 index 76b7988921..3cf660d685 100644 --- a/man3/futimes.3 +++ b/man3/futimes.3 @@ -71,13 +71,6 @@ The following additional error may occur for .TP .B ENOSYS The kernel does not support this call; Linux 2.6.22 or later is required. -.SH VERSIONS -.BR futimes () -is available since glibc 2.3. -.BR lutimes () -is available since glibc 2.6, and is implemented using the -.BR utimensat (2) -system call, which is supported since Linux 2.6.22. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -96,6 +89,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR futimes () +is available since glibc 2.3. +.BR lutimes () +is available since glibc 2.6, and is implemented using the +.BR utimensat (2) +system call, which is supported since Linux 2.6.22. .SH STANDARDS These functions are not specified in any standard. Other than Linux, they are available only on the BSDs. diff --git a/man3/getauxval.3 b/man3/getauxval.3 index 60c49bb195..465716ba53 100644 --- a/man3/getauxval.3 +++ b/man3/getauxval.3 @@ -210,10 +210,6 @@ is not found, 0 is returned. No entry corresponding to .I type could be found in the auxiliary vector. -.SH VERSIONS -The -.BR getauxval () -function was added in glibc 2.16. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -231,6 +227,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR getauxval () +function was added in glibc 2.16. .SH STANDARDS This function is a nonstandard glibc extension. .SH NOTES diff --git a/man3/getenv.3 b/man3/getenv.3 index 51918a9556..7e4b45542d 100644 --- a/man3/getenv.3 +++ b/man3/getenv.3 @@ -75,9 +75,6 @@ The .BR getenv () function returns a pointer to the value in the environment, or NULL if there is no match. -.SH VERSIONS -.BR secure_getenv () -first appeared in glibc 2.17. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -96,6 +93,9 @@ T} Thread safety MT-Safe env .hy .ad .sp 1 +.SH VERSIONS +.BR secure_getenv () +first appeared in glibc 2.17. .SH STANDARDS .BR getenv (): POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3 index 3a3833eed8..d575321957 100644 --- a/man3/getgrouplist.3 +++ b/man3/getgrouplist.3 @@ -83,8 +83,6 @@ In this case, the value returned in .I *ngroups can be used to resize the buffer passed to a further call to .BR getgrouplist (). -.SH VERSIONS -This function is present since glibc 2.2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -102,6 +100,8 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +This function is present since glibc 2.2.4. .SH STANDARDS This function is nonstandard; it appears on most BSDs. .SH BUGS diff --git a/man3/getifaddrs.3 b/man3/getifaddrs.3 index 20c5bfb5d1..ab1df42c1a 100644 --- a/man3/getifaddrs.3 +++ b/man3/getifaddrs.3 @@ -142,14 +142,6 @@ for any of the errors specified for .BR malloc (3), or .BR realloc (3). -.SH VERSIONS -The -.BR getifaddrs () -function first appeared in glibc 2.3, but before glibc 2.3.3, -the implementation supported only IPv4 addresses; -IPv6 support was added in glibc 2.3.3. -Support of address families other than IPv4 is available only -on kernels that support netlink. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -168,6 +160,14 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR getifaddrs () +function first appeared in glibc 2.3, but before glibc 2.3.3, +the implementation supported only IPv4 addresses; +IPv6 support was added in glibc 2.3.3. +Support of address families other than IPv4 is available only +on kernels that support netlink. .SH STANDARDS Not in POSIX.1. This function first appeared in BSDi and is diff --git a/man3/getloadavg.3 b/man3/getloadavg.3 index 033c331dbb..332bb12b8e 100644 --- a/man3/getloadavg.3 +++ b/man3/getloadavg.3 @@ -52,8 +52,6 @@ the number of samples actually retrieved is returned. .\" BR getloadavg () .\" function appeared in .\" 4.3BSD Reno . -.SH VERSIONS -This function is available since glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -71,6 +69,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.2. .SH STANDARDS Not in POSIX.1. Present on the BSDs and Solaris. diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3 index 5591b2c346..ff9d88d115 100644 --- a/man3/getnameinfo.3 +++ b/man3/getnameinfo.3 @@ -211,9 +211,6 @@ suitable for error reporting. .I /etc/nsswitch.conf .br .I /etc/resolv.conf -.SH VERSIONS -.BR getnameinfo () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -231,6 +228,9 @@ T} Thread safety MT-Safe env locale .hy .ad .sp 1 +.SH VERSIONS +.BR getnameinfo () +is provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, RFC\ 2553. .SH NOTES diff --git a/man3/getpt.3 b/man3/getpt.3 index 739e3ab101..f3f8507247 100644 --- a/man3/getpt.3 +++ b/man3/getpt.3 @@ -43,9 +43,6 @@ to indicate the error. .BR getpt () can fail with various errors described in .BR open (2). -.SH VERSIONS -.BR getpt () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -63,6 +60,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR getpt () +is provided since glibc 2.1. .SH STANDARDS .BR getpt () is glibc-specific; diff --git a/man3/getutmp.3 b/man3/getutmp.3 index a8f422476d..5f29ef7ad3 100644 --- a/man3/getutmp.3 +++ b/man3/getutmp.3 @@ -34,8 +34,6 @@ The function performs the converse operation. .SH RETURN VALUE These functions do not return a value. -.SH VERSIONS -These functions were added in glibc 2.1.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -54,6 +52,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1.1. .SH STANDARDS These functions are nonstandard, but appear on a few other systems, such as Solaris and NetBSD. diff --git a/man3/gnu_get_libc_version.3 b/man3/gnu_get_libc_version.3 index 1189118a99..af6315d3ff 100644 --- a/man3/gnu_get_libc_version.3 +++ b/man3/gnu_get_libc_version.3 @@ -28,8 +28,6 @@ returns a string indicates the release status of the glibc version available on the system. This will be a string such as .IR "stable" . -.SH VERSIONS -These functions first appeared in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -48,6 +46,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions first appeared in glibc 2.1. .SH STANDARDS These functions are glibc-specific. .SH EXAMPLES diff --git a/man3/grantpt.3 b/man3/grantpt.3 index 35ff1e7ebb..31706e2b7a 100644 --- a/man3/grantpt.3 +++ b/man3/grantpt.3 @@ -66,9 +66,6 @@ argument is not a valid open file descriptor. The .I fd argument is valid but not associated with a master pseudoterminal. -.SH VERSIONS -.BR grantpt () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -86,6 +83,9 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +.BR grantpt () +is provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/iconv.3 b/man3/iconv.3 index 0ee4b0bcb9..1dfa4c6198 100644 --- a/man3/iconv.3 +++ b/man3/iconv.3 @@ -141,8 +141,6 @@ An invalid multibyte sequence has been encountered in the input. .TP .B EINVAL An incomplete multibyte sequence has been encountered in the input. -.SH VERSIONS -This function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -167,6 +165,8 @@ function is MT-Safe, as long as callers arrange for mutual exclusion on the .I cd argument. +.SH VERSIONS +This function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/iconv_close.3 b/man3/iconv_close.3 index 7809759081..6f47ca539a 100644 --- a/man3/iconv_close.3 +++ b/man3/iconv_close.3 @@ -32,8 +32,6 @@ On success, returns 0; otherwise, it returns \-1 and sets .I errno to indicate the error. -.SH VERSIONS -This function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -51,6 +49,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SUSv2. .SH SEE ALSO diff --git a/man3/iconv_open.3 b/man3/iconv_open.3 index 345b8e4962..f363cd0d47 100644 --- a/man3/iconv_open.3 +++ b/man3/iconv_open.3 @@ -100,8 +100,6 @@ to .I tocode is not supported by the implementation. -.SH VERSIONS -This function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -119,6 +117,8 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SUSv2. .SH SEE ALSO diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3 index 4591d3ebd6..692b3639f9 100644 --- a/man3/if_nameindex.3 +++ b/man3/if_nameindex.3 @@ -78,13 +78,6 @@ may also fail for any of the errors specified for .BR sendto (2), or .BR malloc (3). -.SH VERSIONS -The -.BR if_nameindex () -function first appeared in glibc 2.1, but before glibc 2.3.4, -the implementation supported only interfaces with IPv4 addresses. -Support of interfaces that don't have IPv4 addresses is available only -on kernels that support netlink. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -103,6 +96,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR if_nameindex () +function first appeared in glibc 2.1, but before glibc 2.3.4, +the implementation supported only interfaces with IPv4 addresses. +Support of interfaces that don't have IPv4 addresses is available only +on kernels that support netlink. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, RFC\ 3493. .PP diff --git a/man3/isalpha.3 b/man3/isalpha.3 index baf2cd27b6..11101f4dc0 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -197,22 +197,6 @@ checks for hexadecimal digits, that is, one of The values returned are nonzero if the character .I c falls into the tested class, and zero if not. -.SH VERSIONS -.BR isalnum_l (), -.BR isalpha_l (), -.BR isblank_l (), -.BR iscntrl_l (), -.BR isdigit_l (), -.BR isgraph_l (), -.BR islower_l (), -.BR isprint_l (), -.BR ispunct_l (), -.BR isspace_l (), -.BR isupper_l (), -.BR isxdigit_l (), -and -.BR isascii_l () -are available since glibc 2.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -243,6 +227,22 @@ T} Thread safety MT-Safe .ad .sp 1 .\" FIXME: need a thread-safety statement about the *_l functions +.SH VERSIONS +.BR isalnum_l (), +.BR isalpha_l (), +.BR isblank_l (), +.BR iscntrl_l (), +.BR isdigit_l (), +.BR isgraph_l (), +.BR islower_l (), +.BR isprint_l (), +.BR ispunct_l (), +.BR isspace_l (), +.BR isupper_l (), +.BR isxdigit_l (), +and +.BR isascii_l () +are available since glibc 2.3. .SH STANDARDS C89 specifies .BR isalnum (), diff --git a/man3/lio_listio.3 b/man3/lio_listio.3 index 6e51f96ad3..90ccb587ae 100644 --- a/man3/lio_listio.3 +++ b/man3/lio_listio.3 @@ -183,10 +183,6 @@ If .BR lio_listio () fails for any other reason, then none of the I/O operations has been initiated. -.SH VERSIONS -The -.BR lio_listio () -function is available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -204,6 +200,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR lio_listio () +function is available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/log2.3 b/man3/log2.3 index 3656538ed9..27ed980839 100644 --- a/man3/log2.3 +++ b/man3/log2.3 @@ -59,8 +59,6 @@ when calling these functions. .PP For a discussion of the errors that can occur for these functions, see .BR log (3). -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -80,6 +78,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/lrint.3 b/man3/lrint.3 index 7a0829a62e..8c405578ef 100644 --- a/man3/lrint.3 +++ b/man3/lrint.3 @@ -77,8 +77,6 @@ These functions do not set .IR errno . .\" FIXME . Is it intentional that these functions do not set errno? .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6798 -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -101,6 +99,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/lround.3 b/man3/lround.3 index d99babda98..83927601fd 100644 --- a/man3/lround.3 +++ b/man3/lround.3 @@ -80,8 +80,6 @@ These functions do not set .IR errno . .\" FIXME . Is it intentional that these functions do not set errno? .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6797 -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -104,6 +102,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/makecontext.3 b/man3/makecontext.3 index 4f23aea972..ad426fa58d 100644 --- a/man3/makecontext.3 +++ b/man3/makecontext.3 @@ -85,11 +85,6 @@ to indicate the error. .TP .B ENOMEM Insufficient stack space left. -.SH VERSIONS -.BR makecontext () -and -.BR swapcontext () -are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -114,6 +109,11 @@ T} .hy .ad .sp 1 +.SH VERSIONS +.BR makecontext () +and +.BR swapcontext () +are provided since glibc 2.1. .SH STANDARDS SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specifications of diff --git a/man3/mallinfo.3 b/man3/mallinfo.3 index 4326c0ef70..6819f10193 100644 --- a/man3/mallinfo.3 +++ b/man3/mallinfo.3 @@ -115,13 +115,6 @@ of the heap. This is the maximum number of bytes that could ideally (i.e., ignoring page alignment restrictions, and so on) be released by .BR malloc_trim (3). -.SH VERSIONS -.\" mallinfo(): Available already in glibc 2.0, possibly earlier -The -.BR mallinfo2 () -function was added -.\" commit e3960d1c57e57f33e0e846d615788f4ede73b945 -in glibc 2.33. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -157,6 +150,13 @@ would modify the global internal objects with atomics, that make sure .BR mallinfo ()/ .BR mallinfo2 () is safe enough, others modify with non-atomically maybe not. +.SH VERSIONS +.\" mallinfo(): Available already in glibc 2.0, possibly earlier +The +.BR mallinfo2 () +function was added +.\" commit e3960d1c57e57f33e0e846d615788f4ede73b945 +in glibc 2.33. .SH STANDARDS These functions are not specified by POSIX or the C standards. A diff --git a/man3/malloc.3 b/man3/malloc.3 index 6b7d7e4ea0..2d6e9818e2 100644 --- a/man3/malloc.3 +++ b/man3/malloc.3 @@ -226,19 +226,6 @@ or .B RLIMIT_DATA limit described in .BR getrlimit (2). -.SH VERSIONS -.BR reallocarray () -was added in glibc 2.26. -.PP -.BR malloc () -and related functions rejected sizes greater than -.B PTRDIFF_MAX -starting in glibc 2.30. -.PP -.BR free () -preserved -.I errno -starting in glibc 2.33. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -259,6 +246,19 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR reallocarray () +was added in glibc 2.26. +.PP +.BR malloc () +and related functions rejected sizes greater than +.B PTRDIFF_MAX +starting in glibc 2.30. +.PP +.BR free () +preserved +.I errno +starting in glibc 2.33. .SH STANDARDS .BR malloc (), .BR free (), diff --git a/man3/malloc_info.3 b/man3/malloc_info.3 index 79769395de..af96c0142b 100644 --- a/man3/malloc_info.3 +++ b/man3/malloc_info.3 @@ -41,9 +41,6 @@ is set to indicate the error. .B EINVAL .I options was nonzero. -.SH VERSIONS -.BR malloc_info () -was added in glibc 2.10. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -61,6 +58,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR malloc_info () +was added in glibc 2.10. .SH STANDARDS This function is a GNU extension. .SH NOTES diff --git a/man3/malloc_stats.3 b/man3/malloc_stats.3 index afe8b9ccbd..4dd2d8ca79 100644 --- a/man3/malloc_stats.3 +++ b/man3/malloc_stats.3 @@ -35,8 +35,6 @@ the function prints the sum of these two statistics for all arenas, and the maximum number of blocks and bytes that were ever simultaneously allocated using .BR mmap (2). -.\" .SH VERSIONS -.\" Available already in glibc 2.0, possibly earlier .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -54,6 +52,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available already in glibc 2.0, possibly earlier .SH STANDARDS This function is a GNU extension. .SH NOTES diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3 index 4ae3cac17c..b94fcb5a2e 100644 --- a/man3/malloc_trim.3 +++ b/man3/malloc_trim.3 @@ -42,8 +42,6 @@ function returns 1 if memory was actually released back to the system, or 0 if it was not possible to release any memory. .SH ERRORS No errors are defined. -.\" .SH VERSIONS -.\" Available already in glibc 2.0, possibly earlier .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -61,6 +59,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available already in glibc 2.0, possibly earlier .SH STANDARDS This function is a GNU extension. .SH NOTES diff --git a/man3/mcheck.3 b/man3/mcheck.3 index e4136c4356..41868bff79 100644 --- a/man3/mcheck.3 +++ b/man3/mcheck.3 @@ -113,17 +113,6 @@ A block of memory was freed twice. and .BR mcheck_pedantic () return 0 on success, or \-1 on error. -.SH VERSIONS -The -.BR mcheck_pedantic () -and -.BR mcheck_check_all () -functions are available since glibc 2.2. -The -.BR mcheck () -and -.BR mprobe () -functions are present since at least glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -147,6 +136,17 @@ T} .hy .ad .sp 1 +.SH VERSIONS +The +.BR mcheck_pedantic () +and +.BR mcheck_check_all () +functions are available since glibc 2.2. +The +.BR mcheck () +and +.BR mprobe () +functions are present since at least glibc 2.0 .SH STANDARDS These functions are GNU extensions. .SH NOTES diff --git a/man3/memchr.3 b/man3/memchr.3 index 08c93ee824..877910c59a 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -94,12 +94,6 @@ the given memory area. The .BR rawmemchr () function returns a pointer to the matching byte. -.SH VERSIONS -.BR rawmemchr () -first appeared in glibc 2.1. -.PP -.BR memrchr () -first appeared in glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -119,6 +113,12 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR rawmemchr () +first appeared in glibc 2.1. +.PP +.BR memrchr () +first appeared in glibc 2.2. .SH STANDARDS .BR memchr (): POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. diff --git a/man3/mempcpy.3 b/man3/mempcpy.3 index d355703458..371d341ae0 100644 --- a/man3/mempcpy.3 +++ b/man3/mempcpy.3 @@ -57,9 +57,6 @@ wide characters. .I dest + .IR n . -.SH VERSIONS -.BR mempcpy () -first appeared in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -78,6 +75,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR mempcpy () +first appeared in glibc 2.1. .SH STANDARDS This function is a GNU extension. .SH EXAMPLES diff --git a/man3/mkdtemp.3 b/man3/mkdtemp.3 index 8268652773..e7aa99efba 100644 --- a/man3/mkdtemp.3 +++ b/man3/mkdtemp.3 @@ -57,8 +57,6 @@ Now \fItemplate\fP is unchanged. Also see .BR mkdir (2) for other possible values for \fIerrno\fP. -.SH VERSIONS -Available since glibc 2.1.91. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -76,6 +74,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +Available since glibc 2.1.91. .SH STANDARDS POSIX.1-2008. This function is present on the BSDs. diff --git a/man3/mkfifo.3 b/man3/mkfifo.3 index 52646b4907..32cd31bdad 100644 --- a/man3/mkfifo.3 +++ b/man3/mkfifo.3 @@ -162,12 +162,6 @@ is a file descriptor referring to a file other than a directory. .TP .B EROFS \fIpathname\fP refers to a read-only filesystem. -.SH VERSIONS -.BR mkfifoat () -was added in glibc 2.4. -It is implemented using -.BR mknodat (2), -available since Linux 2.6.16. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -186,6 +180,12 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR mkfifoat () +was added in glibc 2.4. +It is implemented using +.BR mknodat (2), +available since Linux 2.6.16. .SH STANDARDS .BR mkfifo (): POSIX.1-2001, POSIX.1-2008. diff --git a/man3/mkstemp.3 b/man3/mkstemp.3 index 15262df0ee..8c699ca156 100644 --- a/man3/mkstemp.3 +++ b/man3/mkstemp.3 @@ -169,13 +169,6 @@ were not XXXXXX. .PP These functions may also fail with any of the errors described for .BR open (2). -.SH VERSIONS -.BR mkostemp () -is available since glibc 2.7. -.BR mkstemps () -and -.BR mkostemps () -are available since glibc 2.11. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -196,6 +189,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR mkostemp () +is available since glibc 2.7. +.BR mkstemps () +and +.BR mkostemps () +are available since glibc 2.11. .SH STANDARDS .BR mkstemp (): 4.3BSD, POSIX.1-2001. diff --git a/man3/nan.3 b/man3/nan.3 index 068a18f62b..24c9b95c9d 100644 --- a/man3/nan.3 +++ b/man3/nan.3 @@ -66,8 +66,6 @@ On IEEE 754 systems, there are many representations of NaN, and .I tagp selects one. On other systems it may do nothing. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -87,6 +85,8 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. See also IEC 559 and the appendix with diff --git a/man3/nextup.3 b/man3/nextup.3 index 6ca4ba014f..0adcaac393 100644 --- a/man3/nextup.3 +++ b/man3/nextup.3 @@ -63,8 +63,6 @@ and similarly for the other types. .SH RETURN VALUE See DESCRIPTION. .\" .SH ERRORS -.SH VERSIONS -These functions were added in glibc 2.24. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -87,6 +85,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.24. .SH STANDARDS These functions are described in .I IEEE Std 754-2008 - Standard for Floating-Point Arithmetic diff --git a/man3/ntp_gettime.3 b/man3/ntp_gettime.3 index 5f4b864b09..dd1b359db7 100644 --- a/man3/ntp_gettime.3 +++ b/man3/ntp_gettime.3 @@ -95,13 +95,6 @@ are as for .BR adjtimex (2). Given a correct pointer argument, these functions always succeed. .\" FIXME . the info page incorrectly describes the return values. -.SH VERSIONS -The -.BR ntp_gettime () -function is available since glibc 2.1. -The -.BR ntp_gettimex () -function is available since glibc 2.12. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -120,6 +113,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR ntp_gettime () +function is available since glibc 2.1. +The +.BR ntp_gettimex () +function is available since glibc 2.12. .SH STANDARDS .BR ntp_gettime () is described in the NTP Kernel Application Program Interface. diff --git a/man3/open_memstream.3 b/man3/open_memstream.3 index ca736cc417..5a8c18c737 100644 --- a/man3/open_memstream.3 +++ b/man3/open_memstream.3 @@ -95,11 +95,6 @@ pointer. Otherwise, NULL is returned and .I errno is set to indicate the error. -.SH VERSIONS -.BR open_memstream () -was already available in glibc 1.0.x. -.BR open_wmemstream () -is available since glibc 2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -118,6 +113,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR open_memstream () +was already available in glibc 1.0.x. +.BR open_wmemstream () +is available since glibc 2.4. .SH STANDARDS POSIX.1-2008. These functions are not specified in POSIX.1-2001, diff --git a/man3/opendir.3 b/man3/opendir.3 index ffe95848bc..778da47967 100644 --- a/man3/opendir.3 +++ b/man3/opendir.3 @@ -89,9 +89,6 @@ Insufficient memory to complete the operation. .TP .B ENOTDIR \fIname\fP is not a directory. -.SH VERSIONS -.BR fdopendir () -is available since glibc 2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -110,6 +107,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR fdopendir () +is available since glibc 2.4. .SH STANDARDS .BR opendir () is present on SVr4, 4.3BSD, and specified in POSIX.1-2001. diff --git a/man3/perror.3 b/man3/perror.3 index 09939d7642..5f87b93fd1 100644 --- a/man3/perror.3 +++ b/man3/perror.3 @@ -99,13 +99,6 @@ Thus, if a failing call is not immediately followed by a call to the value of .I errno should be saved. -.SH VERSIONS -Since glibc 2.32, the declarations of -.I sys_errlist -and -.I sys_nerr -are no longer exposed by -.IR <stdio.h> . .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -123,6 +116,13 @@ T} Thread safety MT-Safe race:stderr .hy .ad .sp 1 +.SH VERSIONS +Since glibc 2.32, the declarations of +.I sys_errlist +and +.I sys_nerr +are no longer exposed by +.IR <stdio.h> . .SH STANDARDS .BR perror (), .IR errno : diff --git a/man3/posix_fallocate.3 b/man3/posix_fallocate.3 index b0d7ce5ae7..a9b40fe307 100644 --- a/man3/posix_fallocate.3 +++ b/man3/posix_fallocate.3 @@ -91,9 +91,6 @@ emulation shown in NOTES, such as musl libc. .B ESPIPE .I fd refers to a pipe. -.SH VERSIONS -.BR posix_fallocate () -is available since glibc 2.1.94. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -113,6 +110,9 @@ T} .hy .ad .sp 1 +.SH VERSIONS +.BR posix_fallocate () +is available since glibc 2.1.94. .SH STANDARDS POSIX.1-2001. .PP diff --git a/man3/posix_memalign.3 b/man3/posix_memalign.3 index f5d6618b7d..43f621915c 100644 --- a/man3/posix_memalign.3 +++ b/man3/posix_memalign.3 @@ -145,21 +145,6 @@ argument was not a power of two, or was not a multiple of .TP .B ENOMEM There was insufficient memory to fulfill the allocation request. -.SH VERSIONS -The functions -.BR memalign (), -.BR valloc (), -and -.BR pvalloc () -have been available since at least glibc 2.0. -.PP -The function -.BR aligned_alloc () -was added in glibc 2.16. -.PP -The function -.BR posix_memalign () -is available since glibc 2.1.91. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -183,6 +168,21 @@ T} Thread safety MT-Unsafe init .hy .ad .sp 1 +.SH VERSIONS +The functions +.BR memalign (), +.BR valloc (), +and +.BR pvalloc () +have been available since at least glibc 2.0. +.PP +The function +.BR aligned_alloc () +was added in glibc 2.16. +.PP +The function +.BR posix_memalign () +is available since glibc 2.1.91. .SH STANDARDS The function .BR valloc () diff --git a/man3/posix_openpt.3 b/man3/posix_openpt.3 index 8b75e0722f..2605b87ec8 100644 --- a/man3/posix_openpt.3 +++ b/man3/posix_openpt.3 @@ -54,10 +54,6 @@ is set to indicate the error. .SH ERRORS See .BR open (2). -.SH VERSIONS -glibc support for -.BR posix_openpt () -has been provided since glibc 2.2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -75,6 +71,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +glibc support for +.BR posix_openpt () +has been provided since glibc 2.2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/pow10.3 b/man3/pow10.3 index 9f60bd9c57..aeac782869 100644 --- a/man3/pow10.3 +++ b/man3/pow10.3 @@ -29,11 +29,6 @@ with the difference that the latter functions are now standardized in TS\ 18661-4:2015. Those latter functions should be used in preference to the functions described in this page. -.SH VERSIONS -These functions were added in glibc 2.1. -Since glibc 2.27, -.\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e -the use of these functions in new programs is no longer supported. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -53,6 +48,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. +Since glibc 2.27, +.\" glibc commit 5a80d39d0d2587e9bd8e72f19e92eeb2a66fbe9e +the use of these functions in new programs is no longer supported. .SH STANDARDS This functions are nonstandard GNU extensions. .SH SEE ALSO diff --git a/man3/printf.3 b/man3/printf.3 index 322281e511..763b5e2a27 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -895,6 +895,30 @@ or more means that the output was truncated. (See also below under NOTES.) .PP If an output error is encountered, a negative value is returned. +.SH ATTRIBUTES +For an explanation of the terms used in this section, see +.BR attributes (7). +.ad l +.nh +.TS +allbox; +lbx lb lb +l l l. +Interface Attribute Value +T{ +.BR printf (), +.BR fprintf (), +.BR sprintf (), +.BR snprintf (), +.BR vprintf (), +.BR vfprintf (), +.BR vsprintf (), +.BR vsnprintf () +T} Thread safety MT-Safe locale +.TE +.hy +.ad +.sp 1 .SH VERSIONS .\" Linux libc4 knows about the five C standard flags. .\" It knows about the length modifiers \fBh\fP, \fBl\fP, \fBL\fP, @@ -935,30 +959,6 @@ of the .B m conversion specifier, that is .IR %#m . -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.ad l -.nh -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.BR printf (), -.BR fprintf (), -.BR sprintf (), -.BR snprintf (), -.BR vprintf (), -.BR vfprintf (), -.BR vsprintf (), -.BR vsnprintf () -T} Thread safety MT-Safe locale -.TE -.hy -.ad -.sp 1 .SH STANDARDS .BR fprintf (), .BR printf (), diff --git a/man3/psignal.3 b/man3/psignal.3 index 08229ed699..39aff2a33b 100644 --- a/man3/psignal.3 +++ b/man3/psignal.3 @@ -75,10 +75,6 @@ The and .BR psiginfo () functions return no value. -.SH VERSIONS -The -.BR psiginfo () -function was added in glibc 2.10. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -97,6 +93,10 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +The +.BR psiginfo () +function was added in glibc 2.10. .SH STANDARDS POSIX.1-2008, 4.3BSD. .SH BUGS diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index 7a1cf59b54..7cb20eb0f1 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -85,8 +85,6 @@ is too small). .B ENOMEM .RB ( pthread_attr_setaffinity_np ()) Could not allocate memory. -.SH VERSIONS -These functions are provided since glibc 2.3.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -105,6 +103,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.3.4. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in the names. diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3 index f396ec1cc6..f6007c682e 100644 --- a/man3/pthread_attr_setguardsize.3 +++ b/man3/pthread_attr_setguardsize.3 @@ -83,8 +83,6 @@ is invalid. On Linux these functions always succeed (but portable and future-proof applications should nevertheless handle a possible error return). -.SH VERSIONS -These functions are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -103,6 +101,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3 index 198f0c85a9..0ed304eb05 100644 --- a/man3/pthread_attr_setinheritsched.3 +++ b/man3/pthread_attr_setinheritsched.3 @@ -87,8 +87,6 @@ POSIX.1 also documents an optional .B ENOTSUP error ("attempt was made to set the attribute to an unsupported value") for .BR pthread_attr_setinheritsched (). -.\" .SH VERSIONS -.\" Available since glibc 2.0. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -107,6 +105,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH BUGS diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3 index bdd9f5fa88..834c08905c 100644 --- a/man3/pthread_attr_setschedparam.3 +++ b/man3/pthread_attr_setschedparam.3 @@ -84,8 +84,6 @@ error for This value is never returned on Linux (but portable and future-proof applications should nevertheless handle this error return value). -.\" .SH VERSIONS -.\" Available since glibc 2.0. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -104,6 +102,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3 index b6c2064079..df370c2089 100644 --- a/man3/pthread_attr_setschedpolicy.3 +++ b/man3/pthread_attr_setschedpolicy.3 @@ -76,8 +76,6 @@ POSIX.1 also documents an optional .B ENOTSUP error ("attempt was made to set the attribute to an unsupported value") for .BR pthread_attr_setschedpolicy (). -.\" .SH VERSIONS -.\" Available since glibc 2.0. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -96,6 +94,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/pthread_attr_setsigmask_np.3 b/man3/pthread_attr_setsigmask_np.3 index ff9b0355ba..8ba91c4303 100644 --- a/man3/pthread_attr_setsigmask_np.3 +++ b/man3/pthread_attr_setsigmask_np.3 @@ -68,8 +68,6 @@ On error, these functions return a positive error number. .B ENOMEM .RB ( pthread_attr_setsigmask_np ()) Could not allocate memory. -.SH VERSIONS -These functions are provided since glibc 2.32. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -88,6 +86,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.32. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in the names. diff --git a/man3/pthread_attr_setstack.3 b/man3/pthread_attr_setstack.3 index d9f4c402f0..be52f85b28 100644 --- a/man3/pthread_attr_setstack.3 +++ b/man3/pthread_attr_setstack.3 @@ -89,8 +89,6 @@ error if the stack area described by and .I stacksize is not both readable and writable by the caller. -.SH VERSIONS -These functions are provided since glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -109,6 +107,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.2. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_attr_setstackaddr.3 b/man3/pthread_attr_setstackaddr.3 index 4118d3d479..a19aeda210 100644 --- a/man3/pthread_attr_setstackaddr.3 +++ b/man3/pthread_attr_setstackaddr.3 @@ -60,8 +60,6 @@ on error, they return a nonzero error number. No errors are defined (but applications should nevertheless handle a possible error return). -.SH VERSIONS -These functions are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -80,6 +78,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.1. .SH STANDARDS POSIX.1-2001 specifies these functions but marks them as obsolete. POSIX.1-2008 removes the specification of these functions. diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3 index 2094623f77..7b9e4a2d17 100644 --- a/man3/pthread_attr_setstacksize.3 +++ b/man3/pthread_attr_setstacksize.3 @@ -60,8 +60,6 @@ can fail with the error if .I stacksize is not a multiple of the system page size. -.SH VERSIONS -These functions are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -80,6 +78,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_cancel.3 b/man3/pthread_cancel.3 index a0d0a21f76..da41931a55 100644 --- a/man3/pthread_cancel.3 +++ b/man3/pthread_cancel.3 @@ -102,8 +102,6 @@ on error, it returns a nonzero error number. No thread with the ID .I thread could be found. -.\" .SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -121,6 +119,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_cleanup_push.3 b/man3/pthread_cleanup_push.3 index e76bcf282a..90649b4cf1 100644 --- a/man3/pthread_cleanup_push.3 +++ b/man3/pthread_cleanup_push.3 @@ -103,8 +103,6 @@ inside the handler. These functions do not return a value. .SH ERRORS There are no errors. -.\" SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -123,6 +121,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_getattr_default_np.3 b/man3/pthread_getattr_default_np.3 index 27f9a618f7..a20e9ad137 100644 --- a/man3/pthread_getattr_default_np.3 +++ b/man3/pthread_getattr_default_np.3 @@ -58,8 +58,6 @@ is invalid, or the stack address attribute is set in .\" Can happen (but unlikely) while trying to allocate memory for cpuset .RB ( pthread_setattr_default_np ()) Insufficient memory. -.SH VERSIONS -These functions are available since glibc 2.18. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -78,6 +76,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are available since glibc 2.18. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in their names. diff --git a/man3/pthread_getattr_np.3 b/man3/pthread_getattr_np.3 index a1c1b9e7ef..59e1d62887 100644 --- a/man3/pthread_getattr_np.3 +++ b/man3/pthread_getattr_np.3 @@ -75,8 +75,6 @@ and if the .B RLIMIT_STACK resource limit is not supported. -.SH VERSIONS -This function is available since glibc 2.2.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -94,6 +92,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.2.3. .SH STANDARDS This function is a nonstandard GNU extension; hence the suffix "_np" (nonportable) in the name. diff --git a/man3/pthread_getcpuclockid.3 b/man3/pthread_getcpuclockid.3 index 31dd6a6ef5..968f9c9966 100644 --- a/man3/pthread_getcpuclockid.3 +++ b/man3/pthread_getcpuclockid.3 @@ -45,8 +45,6 @@ Per-thread CPU time clocks are not supported by the system. No thread with the ID .I thread could be found. -.SH VERSIONS -This function is available since glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -64,6 +62,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.2. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_kill_other_threads_np.3 b/man3/pthread_kill_other_threads_np.3 index ac7650505d..0aee6411ec 100644 --- a/man3/pthread_kill_other_threads_np.3 +++ b/man3/pthread_kill_other_threads_np.3 @@ -26,8 +26,6 @@ except the calling thread. The cancelation state and cancelation type of the to-be-terminated threads are ignored, and the cleanup handlers are not called in those threads. -.\" .SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -45,6 +43,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS This function is a nonstandard GNU extension; hence the suffix "_np" (nonportable) in the name. diff --git a/man3/pthread_setaffinity_np.3 b/man3/pthread_setaffinity_np.3 index 29f30eb14e..9c14837975 100644 --- a/man3/pthread_setaffinity_np.3 +++ b/man3/pthread_setaffinity_np.3 @@ -94,8 +94,6 @@ is smaller than the size of the affinity mask used by the kernel. No thread with the ID .I thread could be found. -.SH VERSIONS -These functions are provided since glibc 2.3.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -114,6 +112,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are provided since glibc 2.3.4. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in the names. diff --git a/man3/pthread_setcancelstate.3 b/man3/pthread_setcancelstate.3 index 4785db7f4f..e44ca91f5e 100644 --- a/man3/pthread_setcancelstate.3 +++ b/man3/pthread_setcancelstate.3 @@ -95,8 +95,6 @@ can fail with the following error: .B EINVAL Invalid value for .IR type . -.\" .SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -124,6 +122,8 @@ T} .ad .sp 1 .hy +.\" .SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_setconcurrency.3 b/man3/pthread_setconcurrency.3 index 4f39c336ee..8e44fd7113 100644 --- a/man3/pthread_setconcurrency.3 +++ b/man3/pthread_setconcurrency.3 @@ -60,8 +60,6 @@ POSIX.1 also documents an error ("the value specified by .I new_level would cause a system resource to be exceeded"). -.SH VERSIONS -These functions are available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -80,6 +78,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are available since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3 index b78a2f781f..d5ce530b30 100644 --- a/man3/pthread_setname_np.3 +++ b/man3/pthread_setname_np.3 @@ -81,8 +81,6 @@ If either of these functions fails to open .IR /proc/self/task/[tid]/comm , then the call may fail with one of the errors described in .BR open (2). -.SH VERSIONS -These functions were added in glibc 2.12. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -101,6 +99,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.12. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in the names. diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3 index 7a95b18be2..59dbbe6092 100644 --- a/man3/pthread_setschedparam.3 +++ b/man3/pthread_setschedparam.3 @@ -118,8 +118,6 @@ POSIX.1 also documents an ("attempt was made to set the policy or scheduling parameters to an unsupported value") error for .BR pthread_setschedparam (). -.\" .SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -138,6 +136,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" .SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3 index f8fa2886b4..650a33b6a4 100644 --- a/man3/pthread_setschedprio.3 +++ b/man3/pthread_setschedprio.3 @@ -60,8 +60,6 @@ POSIX.1 also documents an ("attempt was made to set the priority to an unsupported value") error for .BR pthread_setschedparam (3). -.SH VERSIONS -This function is available since glibc 2.3.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -79,6 +77,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.3.4. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/pthread_sigqueue.3 b/man3/pthread_sigqueue.3 index b9c80164ac..3777609f9c 100644 --- a/man3/pthread_sigqueue.3 +++ b/man3/pthread_sigqueue.3 @@ -71,10 +71,6 @@ is not supported on this system. .B ESRCH .I thread is not valid. -.SH VERSIONS -The -.BR pthread_sigqueue () -function first appeared in glibc 2.11. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -92,6 +88,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR pthread_sigqueue () +function first appeared in glibc 2.11. .SH STANDARDS This function is a GNU extension. .SH NOTES diff --git a/man3/pthread_testcancel.3 b/man3/pthread_testcancel.3 index ea569fcae6..797d387191 100644 --- a/man3/pthread_testcancel.3 +++ b/man3/pthread_testcancel.3 @@ -35,8 +35,6 @@ If the calling thread is canceled as a consequence of a call to this function, then the function does not return. .SH ERRORS This function always succeeds. -.\" SH VERSIONS -.\" Available since glibc 2.0 .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -54,6 +52,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.\" SH VERSIONS +.\" Available since glibc 2.0 .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index caaaa07079..d816f2e07c 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -92,8 +92,6 @@ terminated. .BR pthread_timedjoin_np () never returns the error .BR EINTR . -.SH VERSIONS -These functions were added in glibc 2.3.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -112,6 +110,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.3.3. .SH STANDARDS These functions are nonstandard GNU extensions; hence the suffix "_np" (nonportable) in the names. diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3 index 37263d0c72..e68cb53257 100644 --- a/man3/pthread_yield.3 +++ b/man3/pthread_yield.3 @@ -35,8 +35,6 @@ on error, it returns an error number. On Linux, this call always succeeds (but portable and future-proof applications should nevertheless handle a possible error return). -.SH VERSIONS -Since glibc 2.34, this function is marked as deprecated. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -54,6 +52,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +Since glibc 2.34, this function is marked as deprecated. .SH STANDARDS This call is nonstandard, but present on several other systems. Use the standardized diff --git a/man3/ptsname.3 b/man3/ptsname.3 index cde2de69de..a4a4222b4e 100644 --- a/man3/ptsname.3 +++ b/man3/ptsname.3 @@ -89,9 +89,6 @@ does not refer to a pseudoterminal master device. only) .I buf is too small. -.SH VERSIONS -.BR ptsname () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -112,6 +109,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR ptsname () +is provided since glibc 2.1. .SH STANDARDS .TP .BR ptsname (): diff --git a/man3/qsort.3 b/man3/qsort.3 index f4cf5a3214..e652bcd1fb 100644 --- a/man3/qsort.3 +++ b/man3/qsort.3 @@ -81,9 +81,6 @@ The and .BR qsort_r () functions return no value. -.SH VERSIONS -.BR qsort_r () -was added in glibc 2.8. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -102,6 +99,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR qsort_r () +was added in glibc 2.8. .SH STANDARDS .BR qsort (): POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. diff --git a/man3/rcmd.3 b/man3/rcmd.3 index 4f0e7b4180..a17238af8e 100644 --- a/man3/rcmd.3 +++ b/man3/rcmd.3 @@ -243,14 +243,6 @@ For information on the return from and .BR iruserok (), see above. -.SH VERSIONS -The functions -.BR iruserok_af (), -.BR rcmd_af (), -.BR rresvport_af (), -and -.BR ruserok_af () -functions are provided since glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -279,6 +271,14 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +The functions +.BR iruserok_af (), +.BR rcmd_af (), +.BR rresvport_af (), +and +.BR ruserok_af () +functions are provided since glibc 2.2. .SH STANDARDS Not in POSIX.1. Present on the BSDs, Solaris, and many other systems. diff --git a/man3/remquo.3 b/man3/remquo.3 index 12de656136..c2232ee0ec 100644 --- a/man3/remquo.3 +++ b/man3/remquo.3 @@ -111,8 +111,6 @@ These functions do not set .IR errno . .\" FIXME . Is it intentional that these functions do not set errno? .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6802 -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -132,6 +130,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/rexec.3 b/man3/rexec.3 index 311053f9eb..b1f219b579 100644 --- a/man3/rexec.3 +++ b/man3/rexec.3 @@ -123,10 +123,6 @@ This argument can be specified as or .B AF_UNSPEC (to allow the implementation to select the protocol). -.SH VERSIONS -The -.BR rexec_af () -function was added in glibc 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -145,6 +141,10 @@ T} Thread safety MT-Unsafe .hy .ad .sp 1 +.SH VERSIONS +The +.BR rexec_af () +function was added in glibc 2.2. .SH STANDARDS These functions are not in POSIX.1. The diff --git a/man3/round.3 b/man3/round.3 index 30c23a3914..ebfcc2434a 100644 --- a/man3/round.3 +++ b/man3/round.3 @@ -57,8 +57,6 @@ itself is returned. .SH ERRORS No errors occur. POSIX.1-2001 documents a range error for overflows, but see NOTES. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -78,6 +76,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/scalbln.3 b/man3/scalbln.3 index dcf5f8ef64..4ffe1ac6a6 100644 --- a/man3/scalbln.3 +++ b/man3/scalbln.3 @@ -123,8 +123,6 @@ is set to An underflow floating-point exception .RB ( FE_UNDERFLOW ) is raised. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -147,6 +145,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/scandir.3 b/man3/scandir.3 index cec797412b..83e896442b 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -180,12 +180,6 @@ The path in \fIdirp\fR is not a directory. is a relative pathname and .I dirfd is a file descriptor referring to a file other than a directory. -.SH VERSIONS -.BR versionsort () -was added in glibc 2.1. -.PP -.BR scandirat () -was added in glibc 2.15. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -208,6 +202,12 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +.BR versionsort () +was added in glibc 2.1. +.PP +.BR scandirat () +was added in glibc 2.15. .SH STANDARDS .BR alphasort (), .BR scandir (): diff --git a/man3/sched_getcpu.3 b/man3/sched_getcpu.3 index c4fc22dc7b..3bb1029359 100644 --- a/man3/sched_getcpu.3 +++ b/man3/sched_getcpu.3 @@ -46,8 +46,6 @@ is set to indicate the error. .B ENOSYS This kernel does not implement .BR getcpu (2). -.SH VERSIONS -This function is available since glibc 2.6. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -65,6 +63,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +This function is available since glibc 2.6. .SH STANDARDS .BR sched_getcpu () is glibc-specific. diff --git a/man3/shm_open.3 b/man3/shm_open.3 index 16bf212b21..e189f7c551 100644 --- a/man3/shm_open.3 +++ b/man3/shm_open.3 @@ -220,8 +220,6 @@ An attempt was to made to a .I name that does not exist. -.SH VERSIONS -These functions are provided in glibc 2.2 and later. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -240,6 +238,8 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +These functions are provided in glibc 2.2 and later. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .PP diff --git a/man3/sigqueue.3 b/man3/sigqueue.3 index 483d115ebe..cfb4bc46d9 100644 --- a/man3/sigqueue.3 +++ b/man3/sigqueue.3 @@ -97,11 +97,6 @@ For the required permissions, see .B ESRCH No process has a PID matching .IR pid . -.SH VERSIONS -.BR sigqueue () -and the underlying -.BR rt_sigqueueinfo (2) -system call first appeared in Linux 2.2. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -119,6 +114,11 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR sigqueue () +and the underlying +.BR rt_sigqueueinfo (2) +system call first appeared in Linux 2.2. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/sigvec.3 b/man3/sigvec.3 index cf376abeee..8a0484ca5f 100644 --- a/man3/sigvec.3 +++ b/man3/sigvec.3 @@ -208,13 +208,6 @@ See the ERRORS under .BR sigaction (2) and .BR sigprocmask (2). -.SH VERSIONS -Starting with glibc 2.21, the GNU C library no longer exports the -.BR sigvec () -function as part of the ABI. -(To ensure backward compatibility, -the glibc symbol versioning scheme continues to export the interface -to binaries linked against older versions of the library.) .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -236,6 +229,13 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +Starting with glibc 2.21, the GNU C library no longer exports the +.BR sigvec () +function as part of the ABI. +(To ensure backward compatibility, +the glibc symbol versioning scheme continues to export the interface +to binaries linked against older versions of the library.) .SH STANDARDS All of these functions were in 4.3BSD, except diff --git a/man3/sincos.3 b/man3/sincos.3 index ce88bdedd4..7e0f564ac8 100644 --- a/man3/sincos.3 +++ b/man3/sincos.3 @@ -67,8 +67,6 @@ is set to An invalid floating-point exception .RB ( FE_INVALID ) is raised. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -88,6 +86,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS These functions are GNU extensions. .SH NOTES diff --git a/man3/sockatmark.3 b/man3/sockatmark.3 index 4a308f5272..b55e4fe95c 100644 --- a/man3/sockatmark.3 +++ b/man3/sockatmark.3 @@ -53,9 +53,6 @@ is not a valid file descriptor. is not a file descriptor to which .BR sockatmark () can be applied. -.SH VERSIONS -.BR sockatmark () -was added in glibc 2.2.4. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -73,6 +70,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR sockatmark () +was added in glibc 2.2.4. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/strchr.3 b/man3/strchr.3 index 6cce980019..5952009c96 100644 --- a/man3/strchr.3 +++ b/man3/strchr.3 @@ -82,9 +82,6 @@ or a pointer to the null byte at the end of (i.e., .IR "s+strlen(s)" ) if the character is not found. -.SH VERSIONS -.BR strchrnul () -was added in glibc 2.1.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -104,6 +101,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR strchrnul () +was added in glibc 2.1.1. .SH STANDARDS .BR strchr (), .BR strrchr (): diff --git a/man3/strerror.3 b/man3/strerror.3 index da517f5dfa..cd9f468407 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -216,16 +216,6 @@ is not a valid error number. .TP .B ERANGE Insufficient storage was supplied to contain the error description string. -.SH VERSIONS -The -.BR strerror_l () -function first appeared in glibc 2.6. -.PP -The -.BR strerrorname_np () -and -.BR strerrordesc_np () -functions first appeared in glibc 2.32. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -253,6 +243,16 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR strerror_l () +function first appeared in glibc 2.6. +.PP +The +.BR strerrorname_np () +and +.BR strerrordesc_np () +functions first appeared in glibc 2.32. .SH STANDARDS .BR strerror () is specified by POSIX.1-2001, POSIX.1-2008, C89, and C99. diff --git a/man3/strfromd.3 b/man3/strfromd.3 index defd462e9c..a6db6922c9 100644 --- a/man3/strfromd.3 +++ b/man3/strfromd.3 @@ -148,13 +148,6 @@ not counting the terminating null byte. Thus, a return value of .I n or greater means that the output was truncated. -.SH VERSIONS -The -.BR strfromd (), -.BR strfromf (), -and -.BR strfroml () -functions are available since glibc 2.25. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7) @@ -181,6 +174,13 @@ T} Thread safety MT-Safe locale .ad .sp 1 Note: these attributes are preliminary. +.SH VERSIONS +The +.BR strfromd (), +.BR strfromf (), +and +.BR strfroml () +functions are available since glibc 2.25. .SH STANDARDS C99, ISO/IEC TS 18661-1. .SH NOTES diff --git a/man3/strsignal.3 b/man3/strsignal.3 index 1b9a91b1f2..77c68037fd 100644 --- a/man3/strsignal.3 +++ b/man3/strsignal.3 @@ -109,17 +109,6 @@ functions return the appropriate description string. The returned string is statically allocated and valid for the lifetime of the program. These functions return NULL for an invalid signal number. -.SH VERSIONS -.BR sigdescr_np () -and -.BR sigabbrev_np () -first appeared in glibc 2.32. -.PP -Starting with glibc 2.32, -.\" glibc commit b1ccfc061feee9ce616444ded8e1cd5acf9fa97f -the -.I sys_siglist -symbol is no longer exported by glibc. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -143,6 +132,17 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR sigdescr_np () +and +.BR sigabbrev_np () +first appeared in glibc 2.32. +.PP +Starting with glibc 2.32, +.\" glibc commit b1ccfc061feee9ce616444ded8e1cd5acf9fa97f +the +.I sys_siglist +symbol is no longer exported by glibc. .SH STANDARDS .BR strsignal (): POSIX.1-2008. diff --git a/man3/tcgetsid.3 b/man3/tcgetsid.3 index 83491d7e93..b560a884a1 100644 --- a/man3/tcgetsid.3 +++ b/man3/tcgetsid.3 @@ -44,9 +44,6 @@ is not a valid file descriptor. The calling process does not have a controlling terminal, or it has one but it is not described by .IR fd . -.SH VERSIONS -.BR tcgetsid () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -64,6 +61,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR tcgetsid () +is provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/tgamma.3 b/man3/tgamma.3 index 1ed27bf66b..7497207419 100644 --- a/man3/tgamma.3 +++ b/man3/tgamma.3 @@ -156,8 +156,6 @@ is set to .BR ERANGE . .\" glibc (as at 2.8) also supports an inexact .\" exception for various cases. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -177,6 +175,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/towlower.3 b/man3/towlower.3 index 65382c086a..edc6b573c9 100644 --- a/man3/towlower.3 +++ b/man3/towlower.3 @@ -82,10 +82,6 @@ was convertible to lowercase, returns its lowercase equivalent; otherwise it returns .IR wc . -.SH VERSIONS -The -.BR towlower_l () -function first appeared in glibc 2.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -106,6 +102,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR towlower_l () +function first appeared in glibc 2.3. .SH STANDARDS .BR towlower (): C99, POSIX.1-2001 (XSI); diff --git a/man3/towupper.3 b/man3/towupper.3 index 748d149e92..e0a943a2e5 100644 --- a/man3/towupper.3 +++ b/man3/towupper.3 @@ -81,10 +81,6 @@ was convertible to uppercase, returns its uppercase equivalent; otherwise it returns .IR wc . -.SH VERSIONS -The -.BR towupper_l () -function first appeared in glibc 2.3. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -105,6 +101,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR towupper_l () +function first appeared in glibc 2.3. .SH STANDARDS .BR towupper (): C99, POSIX.1-2001 (XSI); diff --git a/man3/trunc.3 b/man3/trunc.3 index 42d7d954d3..bb2a125ad0 100644 --- a/man3/trunc.3 +++ b/man3/trunc.3 @@ -44,8 +44,6 @@ is integral, infinite, or NaN, itself is returned. .SH ERRORS No errors occur. -.SH VERSIONS -These functions were added in glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -65,6 +63,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions were added in glibc 2.1. .SH STANDARDS C99, POSIX.1-2001, POSIX.1-2008. .SH NOTES diff --git a/man3/tsearch.3 b/man3/tsearch.3 index f3989712f0..91fc90bbda 100644 --- a/man3/tsearch.3 +++ b/man3/tsearch.3 @@ -192,9 +192,6 @@ also return NULL if .I rootp was NULL on entry. -.SH VERSIONS -.BR twalk_r () -is available since glibc 2.30. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -223,6 +220,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR twalk_r () +is available since glibc 2.30. .SH STANDARDS POSIX.1-2001, POSIX.1-2008, SVr4. The functions diff --git a/man3/unlockpt.3 b/man3/unlockpt.3 index 00496743a7..c93a3f267c 100644 --- a/man3/unlockpt.3 +++ b/man3/unlockpt.3 @@ -57,9 +57,6 @@ argument is not a file descriptor open for writing. The .I fd argument is not associated with a master pseudoterminal. -.SH VERSIONS -.BR unlockpt () -is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -77,6 +74,9 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +.BR unlockpt () +is provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH SEE ALSO diff --git a/man3/wcscasecmp.3 b/man3/wcscasecmp.3 index 82f6948702..5153a09adb 100644 --- a/man3/wcscasecmp.3 +++ b/man3/wcscasecmp.3 @@ -69,10 +69,6 @@ is smaller than .IR s2 , ignoring case. -.SH VERSIONS -The -.BR wcscasecmp () -function is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -90,6 +86,10 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +The +.BR wcscasecmp () +function is provided since glibc 2.1. .SH STANDARDS POSIX.1-2008. This function is not specified in POSIX.1-2001, diff --git a/man3/wcsncasecmp.3 b/man3/wcsncasecmp.3 index 556b88dc2f..13cdcedbd9 100644 --- a/man3/wcsncasecmp.3 +++ b/man3/wcsncasecmp.3 @@ -75,10 +75,6 @@ if truncated is smaller than truncated .IR s2 , ignoring case. -.SH VERSIONS -The -.BR wcsncasecmp () -function is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -96,6 +92,10 @@ T} Thread safety MT-Safe locale .hy .ad .sp 1 +.SH VERSIONS +The +.BR wcsncasecmp () +function is provided since glibc 2.1. .SH STANDARDS POSIX.1-2008. This function is not specified in POSIX.1-2001, diff --git a/man3/wcsnlen.3 b/man3/wcsnlen.3 index ec1092b5d5..339f6c15f0 100644 --- a/man3/wcsnlen.3 +++ b/man3/wcsnlen.3 @@ -68,10 +68,6 @@ first .I maxlen wide characters pointed to by .IR s . -.SH VERSIONS -The -.BR wcsnlen () -function is provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -89,6 +85,10 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +The +.BR wcsnlen () +function is provided since glibc 2.1. .SH STANDARDS POSIX.1-2008. .SH SEE ALSO diff --git a/man3/wordexp.3 b/man3/wordexp.3 index df385ba3db..9350fd63c0 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -171,11 +171,6 @@ Out of memory. .B WRDE_SYNTAX Shell syntax error, such as unbalanced parentheses or unmatched quotes. -.SH VERSIONS -.BR wordexp () -and -.BR wordfree () -are provided since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -213,6 +208,11 @@ then data races could occur. .BR wordexp () calls those functions, so we use race:utent to remind users. +.SH VERSIONS +.BR wordexp () +and +.BR wordfree () +are provided since glibc 2.1. .SH STANDARDS POSIX.1-2001, POSIX.1-2008. .SH EXAMPLES diff --git a/man3/xcrypt.3 b/man3/xcrypt.3 index 78996a8d16..c49995dab3 100644 --- a/man3/xcrypt.3 +++ b/man3/xcrypt.3 @@ -71,8 +71,6 @@ The functions and .BR xdecrypt () return 1 on success and 0 on error. -.SH VERSIONS -These functions are available since glibc 2.1. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -92,6 +90,8 @@ T} Thread safety MT-Safe .hy .ad .sp 1 +.SH VERSIONS +These functions are available since glibc 2.1. .SH BUGS The prototypes are missing from the abovementioned include file. .SH SEE ALSO diff --git a/man7/man-pages.7 b/man7/man-pages.7 index 2af6f937bc..610171e4b8 100644 --- a/man7/man-pages.7 +++ b/man7/man-pages.7 @@ -148,8 +148,8 @@ ERRORS [Typically only in Sections 2, 3] .\" SECURITY, ENVIRONMENT FILES -VERSIONS [Normally only in Sections 2, 3] ATTRIBUTES [Normally only in Sections 2, 3] +VERSIONS [Normally only in Sections 2, 3] STANDARDS NOTES CAVEATS |
