OSDN Git Service
(root)
/
linuxjm
/
LDP_man-pages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git]
/
original
/
man3
/
strstr.3
diff --git
a/original/man3/strstr.3
b/original/man3/strstr.3
index
e8f82d8
..
7bb5a6a
100644
(file)
--- a/
original/man3/strstr.3
+++ b/
original/man3/strstr.3
@@
-30,7
+30,7
@@
.\" Added history, aeb, 980113.
.\" 2005-05-05 mtk: added strcasestr()
.\"
.\" Added history, aeb, 980113.
.\" 2005-05-05 mtk: added strcasestr()
.\"
-.TH STRSTR 3 201
4-01-22
"GNU" "Linux Programmer's Manual"
+.TH STRSTR 3 201
5-01-10
"GNU" "Linux Programmer's Manual"
.SH NAME
strstr, strcasestr \- locate a substring
.SH SYNOPSIS
.SH NAME
strstr, strcasestr \- locate a substring
.SH SYNOPSIS
@@
-81,21
+81,22
@@
function conforms to C89 and C99.
The
.BR strcasestr ()
function is a nonstandard extension.
The
.BR strcasestr ()
function is a nonstandard extension.
-.SH BUGS
-Early versions of Linux libc (like 4.5.26) would not allow
-an empty
-.I needle
-argument for
-.BR strstr ().
-Later versions (like 4.6.27) work correctly,
-and return
-.IR haystack
-when
-.I needle
-is empty.
+.
\" .
SH BUGS
+
.\"
Early versions of Linux libc (like 4.5.26) would not allow
+
.\"
an empty
+.
\" .
I needle
+
.\"
argument for
+.
\" .
BR strstr ().
+
.\"
Later versions (like 4.6.27) work correctly,
+
.\"
and return
+.
\" .
IR haystack
+
.\"
when
+.
\" .
I needle
+
.\"
is empty.
.SH SEE ALSO
.BR index (3),
.BR memchr (3),
.SH SEE ALSO
.BR index (3),
.BR memchr (3),
+.BR memmem (3),
.BR rindex (3),
.BR strcasecmp (3),
.BR strchr (3),
.BR rindex (3),
.BR strcasecmp (3),
.BR strchr (3),
@@
-105,3
+106,12
@@
is empty.
.BR strspn (3),
.BR strtok (3),
.BR wcsstr (3)
.BR strspn (3),
.BR strtok (3),
.BR wcsstr (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.