]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strchr.3.patch
Libc-594.1.4.tar.gz
[apple/libc.git] / string / FreeBSD / strchr.3.patch
1 --- _SB/Libc/string/FreeBSD/strchr.3 2004-11-25 11:38:47.000000000 -0800
2 +++ _SB/Libc/string/FreeBSD/strchr.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -47,9 +47,15 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft "char *"
7 -.Fn strchr "const char *s" "int c"
8 +.Fo strchr
9 +.Fa "const char *s"
10 +.Fa "int c"
11 +.Fc
12 .Ft "char *"
13 -.Fn strrchr "const char *s" "int c"
14 +.Fo strrchr
15 +.Fa "const char *s"
16 +.Fa "int c"
17 +.Fc
18 .Sh DESCRIPTION
19 The
20 .Fn strchr
21 @@ -59,7 +65,7 @@
22 .Vt char )
23 in the string pointed to by
24 .Fa s .
25 -The terminating null character is considered part of the string;
26 +The terminating null character is considered to be part of the string;
27 therefore if
28 .Fa c
29 is
30 @@ -70,7 +76,7 @@
31 The
32 .Fn strrchr
33 function is identical to
34 -.Fn strchr
35 +.Fn strchr ,
36 except it locates the last occurrence of
37 .Fa c .
38 .Sh RETURN VALUES