aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strstr.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-19 04:30:20 +0000
commit2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch)
tree4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/strstr.3
parent2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff)
downloadman-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man3/strstr.3')
-rw-r--r--man3/strstr.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/strstr.3 b/man3/strstr.3
index 061d46a482..abb687aa17 100644
--- a/man3/strstr.3
+++ b/man3/strstr.3
@@ -58,12 +58,6 @@ but ignores the case of both arguments.
.SH "RETURN VALUE"
These functions return a pointer to the beginning of the
substring, or NULL if the substring is not found.
-.SH BUGS
-Early versions of Linux libc (like 4.5.26) would not allow
-an empty \fIneedle\fP argument for
-.BR strstr ().
-Later versions (like 4.6.27) work correctly,
-and return \fIhaystack\fP when \fIneedle\fP is empty.
.SH "CONFORMING TO"
The
.BR strstr ()
@@ -71,6 +65,12 @@ function conforms to C89 and C99.
The
.BR strcasestr ()
function is a non-standard extension.
+.SH BUGS
+Early versions of Linux libc (like 4.5.26) would not allow
+an empty \fIneedle\fP argument for
+.BR strstr ().
+Later versions (like 4.6.27) work correctly,
+and return \fIhaystack\fP when \fIneedle\fP is empty.
.SH "SEE ALSO"
.BR index (3),
.BR memchr (3),