summaryrefslogtreecommitdiff
path: root/lib/libc/string/memchr.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-21 15:24:21 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-21 15:24:21 +0000
commitf427a49cebae937b58bd921c20803593806f0d90 (patch)
tree9b34e9c6151a86aa2c4ccd5da3329e545598269f /lib/libc/string/memchr.3
parentf3b3a991bbd7e54d2e2f1b8c8bbf4eb4d4d22e28 (diff)
Flesh out libc string function man pages.
Diffstat (limited to 'lib/libc/string/memchr.3')
-rw-r--r--lib/libc/string/memchr.315
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3
index 0bcdde698e8..632c440b5b8 100644
--- a/lib/libc/string/memchr.3
+++ b/lib/libc/string/memchr.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: memchr.3,v 1.4 1999/09/21 16:44:01 espie Exp $
+.\" $OpenBSD: memchr.3,v 1.5 2000/04/21 15:24:19 aaron Exp $
.\"
.Dd June 29, 1991
.Dt MEMCHR 3
@@ -48,18 +48,16 @@
.Sh DESCRIPTION
The
.Fn memchr
-function
-locates the first occurrence of
+function locates the first occurrence of
.Fa c
-(converted to an unsigned char)
+(converted to an
+.Li unsigned char )
in string
.Fa b .
.Sh RETURN VALUES
The
.Fn memchr
-function
-returns a pointer to the byte located,
-or
+function returns a pointer to the byte located, or
.Dv NULL
if no such byte exists within
.Fa len
@@ -76,6 +74,5 @@ bytes.
.Sh STANDARDS
The
.Fn memchr
-function
-conforms to
+function conforms to
.St -ansiC .