aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/pthread_tryjoin_np.324
-rw-r--r--man3/stailq.318
-rw-r--r--man3/strlen.34
-rw-r--r--man3/wcslen.34
4 files changed, 25 insertions, 25 deletions
diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3
index c94ed95e3e..0c6f32dd78 100644
--- a/man3/pthread_tryjoin_np.3
+++ b/man3/pthread_tryjoin_np.3
@@ -140,6 +140,18 @@ T} Thread safety MT-Safe
.SH CONFORMING TO
These functions are nonstandard GNU extensions;
hence the suffix "_np" (nonportable) in the names.
+.SH BUGS
+The
+.BR pthread_timedjoin_np ()
+function measures time by internally calculating a relative sleep interval
+that is then measured against the
+.BR CLOCK_MONOTONIC
+clock instead of the
+.BR CLOCK_REALTIME
+clock.
+Consequently, the timeout is unaffected by discontinuous changes to the
+.BR CLOCK_REALTIME
+clock.
.SH EXAMPLES
The following code waits to join for up to 5 seconds:
.PP
@@ -162,18 +174,6 @@ if (s != 0) {
}
.EE
.in
-.SH BUGS
-The
-.BR pthread_timedjoin_np ()
-function measures time by internally calculating a relative sleep interval
-that is then measured against the
-.BR CLOCK_MONOTONIC
-clock instead of the
-.BR CLOCK_REALTIME
-clock.
-Consequently, the timeout is unaffected by discontinuous changes to the
-.BR CLOCK_REALTIME
-clock.
.SH SEE ALSO
.BR clock_gettime (2),
.BR pthread_exit (3),
diff --git a/man3/stailq.3 b/man3/stailq.3
index 085b7aeef7..0392e17dde 100644
--- a/man3/stailq.3
+++ b/man3/stailq.3
@@ -309,6 +309,15 @@ returns an initializer that can be assigned to the queue
Not in POSIX.1, POSIX.1-2001, or POSIX.1-2008.
Present on the BSDs
(STAILQ macros first appeared in 4.4BSD).
+.SH NOTES
+Some BSDs provide SIMPLEQ instead of STAILQ.
+They are identical, but for historical reasons
+they were named differently on different BSDs.
+STAILQ originated on FreeBSD, and SIMPLEQ originated on NetBSD.
+For compatibility reasons, some systems provide both sets of macros.
+Glibc provides both STAILQ and SIMPLEQ,
+which are identical except for a missing SIMPLEQ equivalent to
+.BR STAILQ_CONCAT ().
.SH BUGS
.BR STAILQ_FOREACH ()
doesn't allow
@@ -321,15 +330,6 @@ fixes this limitation by allowing
.I var
to safely be removed from the list and freed from within the loop
without interfering with the traversal.
-.SH NOTES
-Some BSDs provide SIMPLEQ instead of STAILQ.
-They are identical, but for historical reasons
-they were named differently on different BSDs.
-STAILQ originated on FreeBSD, and SIMPLEQ originated on NetBSD.
-For compatibility reasons, some systems provide both sets of macros.
-Glibc provides both STAILQ and SIMPLEQ,
-which are identical except for a missing SIMPLEQ equivalent to
-.BR STAILQ_CONCAT ().
.SH EXAMPLES
.EX
#include <stddef.h>
diff --git a/man3/strlen.3 b/man3/strlen.3
index ca7a7d1882..27dc9f17df 100644
--- a/man3/strlen.3
+++ b/man3/strlen.3
@@ -64,13 +64,13 @@ T} Thread safety MT-Safe
.hy
.ad
.sp 1
+.SH CONFORMING TO
+POSIX.1-2001, POSIX.1-2008, C89, C99, C11, SVr4, 4.3BSD.
.SH NOTES
In cases where the input buffer may not contain
a terminating null byte,
.BR strnlen (3)
should be used instead.
-.SH CONFORMING TO
-POSIX.1-2001, POSIX.1-2008, C89, C99, C11, SVr4, 4.3BSD.
.SH SEE ALSO
.BR string (3),
.BR strnlen (3),
diff --git a/man3/wcslen.3 b/man3/wcslen.3
index 24dca8e55b..52c450c805 100644
--- a/man3/wcslen.3
+++ b/man3/wcslen.3
@@ -56,12 +56,12 @@ T} Thread safety MT-Safe
.hy
.ad
.sp 1
+.SH CONFORMING TO
+POSIX.1-2001, POSIX.1-2008, C99.
.SH NOTES
In cases where the input buffer may not contain
a terminating null wide character,
.BR wcsnlen (3)
should be used instead.
-.SH CONFORMING TO
-POSIX.1-2001, POSIX.1-2008, C99.
.SH SEE ALSO
.BR strlen (3)