On 19:55:48, 11.05.16, Ingo Schwarze wrote: > Hi, > > Michal Mazurek wrote on Wed, May 11, 2016 at 10:41:03AM +0200: > > > * add explicit RETURN VALUES section > > * add an EXAMPLES section, from NetBSD and FreeBSD > > * mention memmem(3) > > Committed without the EXAMPLES. I agree with tedu@ that this > example is trivial and doesn't add value.
The same for wcsstr: Index: lib/libc/string/wcsstr.3 =================================================================== RCS file: /cvs/src/lib/libc/string/wcsstr.3,v retrieving revision 1.3 diff -u -p -r1.3 wcsstr.3 --- lib/libc/string/wcsstr.3 5 Jun 2013 03:39:23 -0000 1.3 +++ lib/libc/string/wcsstr.3 12 May 2016 06:10:36 -0000 @@ -48,7 +48,7 @@ function locates the first occurrence of .Fa little in the wide string .Fa big . -.Pp +.Sh RETURN VALUES If .Fa little is an empty wide string, @@ -64,6 +64,7 @@ otherwise a pointer to the first wide ch .Fa little is returned. .Sh SEE ALSO +.Xr memmem 3 , .Xr strstr 3 , .Xr wcschr 3 , .Xr wcscspn 3 , -- Michal Mazurek