summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memccpy.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-04-21 15:24:18 +0000
committeraaron <aaron@openbsd.org>2000-04-21 15:24:18 +0000
commit60ab2826e6a68856a3f0b37c4345bfc35c6c0c28 (patch)
tree242337194a050a28ff13525992611dabe0a84956 /lib/libc/string/memccpy.3
parentNRL pcb issue; inp_{f,l}addr{,6} is a union so we need to be sure about (diff)
downloadwireguard-openbsd-60ab2826e6a68856a3f0b37c4345bfc35c6c0c28.tar.xz
wireguard-openbsd-60ab2826e6a68856a3f0b37c4345bfc35c6c0c28.zip
Flesh out libc string function man pages.
Diffstat (limited to 'lib/libc/string/memccpy.3')
-rw-r--r--lib/libc/string/memccpy.39
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index 873d3f784b5..feedeff3a64 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memccpy.3,v 1.5 1999/06/29 18:01:32 aaron Exp $
+.\" $OpenBSD: memccpy.3,v 1.6 2000/04/21 15:24:19 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -46,14 +46,15 @@
.Sh DESCRIPTION
The
.Fn memccpy
-function
-copies bytes from string
+function copies bytes from string
.Fa src
to string
.Fa dst .
If the character
.Fa c
-(as converted to an unsigned char) occurs in the string
+(as converted to an
+.Li unsigned char )
+occurs in the string
.Fa src ,
the copy stops and a pointer to the byte after the copy of
.Fa c