Browse Source

Add RETURN VALUES section and .Xr to memmem(3).

From Michal Mazurek <akfaew at jasminek dot net>.
OK tedu@
OPENBSD_6_0
schwarze 8 years ago
parent
commit
4e4aac21c9
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/lib/libc/string/strstr.3

+ 4
- 3
src/lib/libc/string/strstr.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strstr.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
.\" $OpenBSD: strstr.3,v 1.13 2016/05/11 17:51:50 schwarze Exp $
.\" .\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved. .\" All rights reserved.
@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: June 5 2013 $
.Dd $Mdocdate: May 11 2016 $
.Dt STRSTR 3 .Dt STRSTR 3
.Os .Os
.Sh NAME .Sh NAME
@ -56,7 +56,7 @@ The
function is similar to function is similar to
.Fn strstr .Fn strstr
but ignores the case of both strings. but ignores the case of both strings.
.Pp
.Sh RETURN VALUES
If If
.Fa little .Fa little
is an empty string, is an empty string,
@ -73,6 +73,7 @@ otherwise a pointer to the first character of the first occurrence of
is returned. is returned.
.Sh SEE ALSO .Sh SEE ALSO
.Xr memchr 3 , .Xr memchr 3 ,
.Xr memmem 3 ,
.Xr strchr 3 , .Xr strchr 3 ,
.Xr strcspn 3 , .Xr strcspn 3 ,
.Xr strpbrk 3 , .Xr strpbrk 3 ,


Loading…
Cancel
Save