]> git.saurik.com Git - apple/libc.git/blame - string/FreeBSD/memchr.3.patch
Libc-498.1.7.tar.gz
[apple/libc.git] / string / FreeBSD / memchr.3.patch
CommitLineData
224c7076
A
1--- _SB/Libc/string/FreeBSD/memchr.3 2003-05-20 15:23:54.000000000 -0700
2+++ _SB/Libc/string/FreeBSD/memchr.3.edit 2006-06-28 16:55:53.000000000 -0700
3@@ -47,7 +47,11 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft void *
7-.Fn memchr "const void *b" "int c" "size_t len"
8+.Fo memchr
9+.Fa "const void *s"
10+.Fa "int c"
11+.Fa "size_t n"
12+.Fc
13 .Sh DESCRIPTION
14 The
15 .Fn memchr
16@@ -56,14 +60,14 @@
17 .Fa c
18 (converted to an unsigned char)
19 in string
20-.Fa b .
21+.Fa s .
22 .Sh RETURN VALUES
23 The
24 .Fn memchr
25 function
26 returns a pointer to the byte located,
27 or NULL if no such byte exists within
28-.Fa len
29+.Fa n
30 bytes.
31 .Sh SEE ALSO
32 .Xr strchr 3 ,