summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-03-17 15:00:52 +0100
committerAlejandro Colomar <alx@kernel.org>2023-03-17 22:11:09 +0100
commit196224f70f7dc4931afe6119f9667ca635e10d7e (patch)
treea5b798418cec992d74dc350eaea1c4103b5b591e
parent78e49fe92e4a91362ea16cb9fa44a7bc00b0e50f (diff)
man2/, man3/, man-pages.7: Move VERSIONS next to STANDARDS
VERSIONS and STANDARDS are closely related (and often the distinction is not so clear). Now that we're going to add another section, HISTORY, that is related to both, it makes sense to have the three together. As a curiosity, the list in man-pages(7) that detailed what each section should contain had them by accident(?) in the order that we're moving to, instead of the order that was used elsewhere. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/clock_getres.24
-rw-r--r--man2/eventfd.226
-rw-r--r--man2/getrlimit.210
-rw-r--r--man2/utimensat.216
-rw-r--r--man3/__ppc_set_ppr_med.324
-rw-r--r--man3/__ppc_yield.34
-rw-r--r--man3/addseverity.36
-rw-r--r--man3/aio_cancel.38
-rw-r--r--man3/aio_error.38
-rw-r--r--man3/aio_fsync.38
-rw-r--r--man3/aio_read.38
-rw-r--r--man3/aio_return.38
-rw-r--r--man3/aio_suspend.38
-rw-r--r--man3/aio_write.38
-rw-r--r--man3/backtrace.312
-rw-r--r--man3/bzero.36
-rw-r--r--man3/cabs.34
-rw-r--r--man3/cacos.34
-rw-r--r--man3/cacosh.34
-rw-r--r--man3/carg.34
-rw-r--r--man3/casin.34
-rw-r--r--man3/casinh.34
-rw-r--r--man3/catan.34
-rw-r--r--man3/catanh.34
-rw-r--r--man3/ccos.34
-rw-r--r--man3/cexp.34
-rw-r--r--man3/cfree.312
-rw-r--r--man3/cimag.34
-rw-r--r--man3/clearenv.34
-rw-r--r--man3/clock_getcpuclockid.38
-rw-r--r--man3/clog.34
-rw-r--r--man3/clog10.34
-rw-r--r--man3/conj.34
-rw-r--r--man3/cpow.34
-rw-r--r--man3/cproj.34
-rw-r--r--man3/creal.34
-rw-r--r--man3/csin.34
-rw-r--r--man3/csinh.34
-rw-r--r--man3/csqrt.34
-rw-r--r--man3/ctan.34
-rw-r--r--man3/ctanh.34
-rw-r--r--man3/des_crypt.326
-rw-r--r--man3/dl_iterate_phdr.36
-rw-r--r--man3/dladdr.310
-rw-r--r--man3/dlerror.36
-rw-r--r--man3/dlinfo.36
-rw-r--r--man3/dlopen.314
-rw-r--r--man3/dlsym.310
-rw-r--r--man3/encrypt.322
-rw-r--r--man3/euidaccess.38
-rw-r--r--man3/exec.38
-rw-r--r--man3/exp10.34
-rw-r--r--man3/exp2.34
-rw-r--r--man3/fdim.34
-rw-r--r--man3/fenv.34
-rw-r--r--man3/fexecve.36
-rw-r--r--man3/fma.34
-rw-r--r--man3/fmax.34
-rw-r--r--man3/fmemopen.36
-rw-r--r--man3/fmin.34
-rw-r--r--man3/fmtmsg.36
-rw-r--r--man3/fseeko.34
-rw-r--r--man3/ftime.318
-rw-r--r--man3/fts.34
-rw-r--r--man3/ftw.36
-rw-r--r--man3/futimes.314
-rw-r--r--man3/getauxval.38
-rw-r--r--man3/getenv.36
-rw-r--r--man3/getgrouplist.34
-rw-r--r--man3/getifaddrs.316
-rw-r--r--man3/getloadavg.34
-rw-r--r--man3/getnameinfo.36
-rw-r--r--man3/getpt.36
-rw-r--r--man3/getutmp.34
-rw-r--r--man3/gnu_get_libc_version.34
-rw-r--r--man3/grantpt.36
-rw-r--r--man3/iconv.34
-rw-r--r--man3/iconv_close.34
-rw-r--r--man3/iconv_open.34
-rw-r--r--man3/if_nameindex.314
-rw-r--r--man3/isalpha.332
-rw-r--r--man3/lio_listio.38
-rw-r--r--man3/log2.34
-rw-r--r--man3/lrint.34
-rw-r--r--man3/lround.34
-rw-r--r--man3/makecontext.310
-rw-r--r--man3/mallinfo.314
-rw-r--r--man3/malloc.326
-rw-r--r--man3/malloc_info.36
-rw-r--r--man3/malloc_stats.34
-rw-r--r--man3/malloc_trim.34
-rw-r--r--man3/mcheck.322
-rw-r--r--man3/memchr.312
-rw-r--r--man3/mempcpy.36
-rw-r--r--man3/mkdtemp.34
-rw-r--r--man3/mkfifo.312
-rw-r--r--man3/mkstemp.314
-rw-r--r--man3/nan.34
-rw-r--r--man3/nextup.34
-rw-r--r--man3/ntp_gettime.314
-rw-r--r--man3/open_memstream.310
-rw-r--r--man3/opendir.36
-rw-r--r--man3/perror.314
-rw-r--r--man3/posix_fallocate.36
-rw-r--r--man3/posix_memalign.330
-rw-r--r--man3/posix_openpt.38
-rw-r--r--man3/pow10.310
-rw-r--r--man3/printf.348
-rw-r--r--man3/psignal.38
-rw-r--r--man3/pthread_attr_setaffinity_np.34
-rw-r--r--man3/pthread_attr_setguardsize.34
-rw-r--r--man3/pthread_attr_setinheritsched.34
-rw-r--r--man3/pthread_attr_setschedparam.34
-rw-r--r--man3/pthread_attr_setschedpolicy.34
-rw-r--r--man3/pthread_attr_setsigmask_np.34
-rw-r--r--man3/pthread_attr_setstack.34
-rw-r--r--man3/pthread_attr_setstackaddr.34
-rw-r--r--man3/pthread_attr_setstacksize.34
-rw-r--r--man3/pthread_cancel.34
-rw-r--r--man3/pthread_cleanup_push.34
-rw-r--r--man3/pthread_getattr_default_np.34
-rw-r--r--man3/pthread_getattr_np.34
-rw-r--r--man3/pthread_getcpuclockid.34
-rw-r--r--man3/pthread_kill_other_threads_np.34
-rw-r--r--man3/pthread_setaffinity_np.34
-rw-r--r--man3/pthread_setcancelstate.34
-rw-r--r--man3/pthread_setconcurrency.34
-rw-r--r--man3/pthread_setname_np.34
-rw-r--r--man3/pthread_setschedparam.34
-rw-r--r--man3/pthread_setschedprio.34
-rw-r--r--man3/pthread_sigqueue.38
-rw-r--r--man3/pthread_testcancel.34
-rw-r--r--man3/pthread_tryjoin_np.34
-rw-r--r--man3/pthread_yield.34
-rw-r--r--man3/ptsname.36
-rw-r--r--man3/qsort.36
-rw-r--r--man3/rcmd.316
-rw-r--r--man3/remquo.34
-rw-r--r--man3/rexec.38
-rw-r--r--man3/round.34
-rw-r--r--man3/scalbln.34
-rw-r--r--man3/scandir.312
-rw-r--r--man3/sched_getcpu.34
-rw-r--r--man3/shm_open.34
-rw-r--r--man3/sigqueue.310
-rw-r--r--man3/sigvec.314
-rw-r--r--man3/sincos.34
-rw-r--r--man3/sockatmark.36
-rw-r--r--man3/strchr.36
-rw-r--r--man3/strerror.320
-rw-r--r--man3/strfromd.314
-rw-r--r--man3/strsignal.322
-rw-r--r--man3/tcgetsid.36
-rw-r--r--man3/tgamma.34
-rw-r--r--man3/towlower.38
-rw-r--r--man3/towupper.38
-rw-r--r--man3/trunc.34
-rw-r--r--man3/tsearch.36
-rw-r--r--man3/unlockpt.36
-rw-r--r--man3/wcscasecmp.38
-rw-r--r--man3/wcsncasecmp.38
-rw-r--r--man3/wcsnlen.38
-rw-r--r--man3/wordexp.310
-rw-r--r--man3/xcrypt.34
-rw-r--r--man7/man-pages.72
165 files changed, 636 insertions, 636 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 8d90baaaa..ae514e622 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 5f25ca82b..169ca9d1c 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 9b361df95..700fd6438 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 c2e6a9164..803828e31 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 dcd2f7452..474b0fdff 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 b2f2463b3..d802fa1f4 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 b61a35082..0e4e626fc 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 a98b8d386..a01909e4e 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 0f56060d3..efb04957b 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 7aa0f6f3e..1a12a549f 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 d4cbbe5ef..ecdbd1081 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 4074b4ca2..4b9179413 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 32a08c510..57ef7d344 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 b96a9fd3b..11a302ee4 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 c98d3eb1b..4d23f71f6 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 0d7171bf8..1b203fef6 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 b0e601a7f..1cd489aed 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 bed6753dc..554553b59 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 1f5d6f005..3aa69baba 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 41c9583a7..f90873278 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 041122dd8..04d77918f 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 5cb331675..3aab28abc 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 9b37bc8b1..244bea87a 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 a1dc0e741..1f590a65e 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 dedc771a9..6193a3384 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 1b2867c10..0fc6daf53 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 067b80017..f4e3d1f53 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 4304117f3..026915ff1 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 fce05363a..078b447ec 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 bcc2d981e..1a5dccb9b 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 d64f1f071..3eba791c7 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 cee332ef9..ba3f865da 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 1800496e4..941c44536 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 2fd09c5fb..e69d34e8c 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 c5ab0be61..b05e98a72 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 83e368865..8fe7f5a51 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 7d080fba8..3119535ca 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 2b070b76b..b8f5d5a9f 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 7630e4ea6..b9cf8ba61 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 e0c156d73..9caaf42d6 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 10317892c..9eb02dd25 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 4f1385efb..e486d92a5 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 5a363c788..0b65919bf 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 b8231298b..77b7b9afe 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 a8cd95e5f..3265dfcf3 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 83d2d2dba..960265faf 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 5a97e510f..3df952650 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 0d0e2d610..de071d1f0 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 2557a5f25..c71a62e6e 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 f7ce93530..d17590bc0 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 3c6538459..d8c0e0712 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 732b5a76c..f739b8025 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 e937f7aad..574507df6 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 eed4edaf5..7eaacb0d7 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 cb3ca2537..cbaa342fd 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 88c8bb984..78d0efee9 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 e866aac71..e170136c8 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 5a66f4617..5001084ec 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 2b34bc286..744865bc7 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 82dd035b5..d952bf104 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 9eb3484a4..ec964948c 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 e0d7c0b76..fbd58863c 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 cc86eece4..5e6430f64 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 9157bd18c..bf17849b9 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 4c14e1489..561d27dd9 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 76b798892..3cf660d68 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 60c49bb19..465716ba5 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 51918a955..7e4b45542 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 3a3833eed..d57532195 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 20c5bfb5d..ab1df42c1 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 033c331db..332bb12b8 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 5591b2c34..ff9d88d11 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 739e3ab10..f3f850724 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 a8f422476..5f29ef7ad 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 1189118a9..af6315d3f 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 35ff1e7eb..31706e2b7 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 0ee4b0bcb..1dfa4c619 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 780975908..6f47ca539 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 345b8e496..f363cd0d4 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 4591d3ebd..692b3639f 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 baf2cd27b..11101f4dc 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 6e51f96ad..90ccb587a 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 3656538ed..27ed98083 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 7a0829a62..8c405578e 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 d99babda9..83927601f 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 4f23aea97..ad426fa58 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 4326c0ef7..6819f1019 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 6b7d7e4ea..2d6e9818e 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 79769395d..af96c0142 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 afe8b9ccb..4dd2d8ca7 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 4ae3cac17..b94fcb5a2 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 e4136c435..41868bff7 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 08c93ee82..877910c59 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 d35570345..371d341ae 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 826865277..e7aa99efb 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 52646b490..32cd31bda 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 15262df0e..8c699ca15 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 068a18f62..24c9b95c9 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 6ca4ba014..0adcaac39 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 5f4b864b0..dd1b359db 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 ca736cc41..5a8c18c73 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 ffe95848b..778da4796 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 09939d764..5f87b93fd 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 b0d7ce5ae..a9b40fe30 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 f5d6618b7..43f621915 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 8b75e0722..2605b87ec 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 9f60bd9c5..aeac78286 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 322281e51..763b5e2a2 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 08229ed69..39aff2a33 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 7a1cf59b5..7cb20eb0f 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 f396ec1cc..f6007c682 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 198f0c85a..0ed304eb0 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 bdd9f5fa8..834c08905 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 b6c206407..df370c208 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 ff9b0355b..8ba91c430 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 d9f4c402f..be52f85b2 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 4118d3d47..a19aeda21 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 2094623f7..7b9e4a2d1 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 a0d0a21f7..da41931a5 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 e76bcf282..90649b4cf 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 27f9a618f..a20e9ad13 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 a1c1b9e7e..59e1d6288 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 31dd6a6ef..968f9c996 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 ac7650505..0aee6411e 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 29f30eb14..9c1483797 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 4785db7f4..e44ca91f5 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 4f39c336e..8e44fd711 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 b78a2f781..d5ce530b3 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 7a95b18be..59dbbe609 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 f8fa2886b..650a33b6a 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 b9c80164a..3777609f9 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 ea569fcae..797d38719 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 caaaa0707..d816f2e07 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 37263d0c7..e68cb5325 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 cde2de69d..a4a4222b4 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 f4cf5a321..e652bcd1f 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 4f0e7b418..a17238af8 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 12de65613..c2232ee0e 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 311053f9e..b1f219b57 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 30c23a391..ebfcc2434 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 dcf5f8ef6..4ffe1ac6a 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 cec797412..83e896442 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 c4fc22dc7..3bb102935 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 16bf212b2..e189f7c55 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 483d115eb..cfb4bc46d 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 cf376abee..8a0484ca5 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 ce88bdedd..7e0f564ac 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 4a308f527..b55e4fe95 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 6cce98001..5952009c9 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 da517f5df..cd9f46840 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 defd462e9..a6db6922c 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 1b9a91b1f..77c68037f 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 83491d7e9..b560a884a 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 1ed27bf66..749720741 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 65382c086..edc6b573c 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 748d149e9..e0a943a2e 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 42d7d954d..bb2a125ad 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 f3989712f..91fc90bbd 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 00496743a..c93a3f267 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 82f694870..5153a09ad 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 556b88dc2..13cdcedbd 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 ec1092b5d..339f6c15f 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 df385ba3d..9350fd63c 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 78996a8d1..c49995dab 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 2af6f937b..610171e4b 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