strchr.3.patch   [plain text]


--- strchr.3.bsdnew	2009-11-18 18:24:33.000000000 -0800
+++ strchr.3	2009-11-18 18:24:33.000000000 -0800
@@ -43,9 +43,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
@@ -55,7 +61,7 @@ function locates the first occurrence of
 .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
@@ -66,7 +72,7 @@ the functions locate the terminating
 The
 .Fn strrchr
 function is identical to
-.Fn strchr
+.Fn strchr ,
 except it locates the last occurrence of
 .Fa c .
 .Sh RETURN VALUES