strchr.3.patch   [plain text]


--- _SB/Libc/string/FreeBSD/strchr.3	2004-11-25 11:38:47.000000000 -0800
+++ _SB/Libc/string/FreeBSD/strchr.3.edit	2006-06-28 16:55:53.000000000 -0700
@@ -47,9 +47,15 @@
 .Sh SYNOPSIS
 .In string.h
 .Ft "char *"
-.Fn strchr "const char *s" "int c"
+.Fo strchr
+.Fa "const char *s"
+.Fa "int c"
+.Fc
 .Ft "char *"
-.Fn strrchr "const char *s" "int c"
+.Fo strrchr
+.Fa "const char *s"
+.Fa "int c"
+.Fc
 .Sh DESCRIPTION
 The
 .Fn strchr
@@ -59,7 +65,7 @@
 .Vt char )
 in the string pointed to by
 .Fa s .
-The terminating null character is considered part of the string;
+The terminating null character is considered to be part of the string;
 therefore if
 .Fa c
 is
@@ -70,7 +76,7 @@
 The
 .Fn strrchr
 function is identical to
-.Fn strchr
+.Fn strchr ,
 except it locates the last occurrence of
 .Fa c .
 .Sh RETURN VALUES