From 1ddfc2e3aa6e4fc228b1c646c802161fcff64223 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 20 Nov 2001 14:11:07 +0000 Subject: [PATCH] mdoc(7) police: minor markup and spelling fixes. --- lib/libc/string/strstr.3 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index 4fd02d2d60f8..16c6db20fa75 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -85,7 +85,7 @@ Since the .Fn strnstr function is a .Fx -specific API, it should only be used when portablility is not a concern. +specific API, it should only be used when portability is not a concern. .Sh RETURN VALUES If .Fa little @@ -96,7 +96,8 @@ if .Fa little occurs nowhere in .Fa big , -NULL is returned; +.Dv NULL +is returned; otherwise a pointer to the first character of the first occurrence of .Fa little is returned. @@ -104,7 +105,7 @@ is returned. The following sets the pointer .Va ptr to the -.Dq Li Bar Baz +.Qq Li Bar Baz portion of .Va largestring : .Bd -literal -offset indent @@ -117,7 +118,9 @@ ptr = strstr(largestring, smallstring); .Pp The following sets the pointer .Va ptr -to NULL, because only the first 4 characters of +to +.Dv NULL , +because only the first 4 characters of .Va largestring are searched: .Bd -literal -offset indent