diff options
author | schwarze <> | 2016-05-11 17:51:50 +0000 |
---|---|---|
committer | schwarze <> | 2016-05-11 17:51:50 +0000 |
commit | 1af75c9c4942fc9e30b4591872a15652b1aeec7c (patch) | |
tree | 5f22aa204807f1ac15a9f5f5de296db4530bb03d | |
parent | cc7d36ee3febad029d32c47ff2c569c89582dbdd (diff) | |
download | openbsd-1af75c9c4942fc9e30b4591872a15652b1aeec7c.tar.gz openbsd-1af75c9c4942fc9e30b4591872a15652b1aeec7c.tar.bz2 openbsd-1af75c9c4942fc9e30b4591872a15652b1aeec7c.zip |
Add RETURN VALUES section and .Xr to memmem(3).
From Michal Mazurek <akfaew at jasminek dot net>.
OK tedu@
-rw-r--r-- | src/lib/libc/string/strstr.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/string/strstr.3 b/src/lib/libc/string/strstr.3 index 1f79d45590..60d2a721a7 100644 --- a/src/lib/libc/string/strstr.3 +++ b/src/lib/libc/string/strstr.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strstr.3,v 1.12 2013/06/05 03:39:23 tedu Exp $ | 1 | .\" $OpenBSD: strstr.3,v 1.13 2016/05/11 17:51:50 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -31,7 +31,7 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
33 | .\" | 33 | .\" |
34 | .Dd $Mdocdate: June 5 2013 $ | 34 | .Dd $Mdocdate: May 11 2016 $ |
35 | .Dt STRSTR 3 | 35 | .Dt STRSTR 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -56,7 +56,7 @@ The | |||
56 | function is similar to | 56 | function is similar to |
57 | .Fn strstr | 57 | .Fn strstr |
58 | but ignores the case of both strings. | 58 | but ignores the case of both strings. |
59 | .Pp | 59 | .Sh RETURN VALUES |
60 | If | 60 | If |
61 | .Fa little | 61 | .Fa little |
62 | is an empty string, | 62 | is an empty string, |
@@ -73,6 +73,7 @@ otherwise a pointer to the first character of the first occurrence of | |||
73 | is returned. | 73 | is returned. |
74 | .Sh SEE ALSO | 74 | .Sh SEE ALSO |
75 | .Xr memchr 3 , | 75 | .Xr memchr 3 , |
76 | .Xr memmem 3 , | ||
76 | .Xr strchr 3 , | 77 | .Xr strchr 3 , |
77 | .Xr strcspn 3 , | 78 | .Xr strcspn 3 , |
78 | .Xr strpbrk 3 , | 79 | .Xr strpbrk 3 , |