summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/memccpy.3
diff options
context:
space:
mode:
authoraaron <>2000-04-21 15:24:20 +0000
committeraaron <>2000-04-21 15:24:20 +0000
commit9fb35611cc3d03bef8b690b62e0904507c414a61 (patch)
treecbb158a96fec3a91f1d59c3e9f768b10d6ed872e /src/lib/libc/string/memccpy.3
parenta4336f357f9e30dffdfad4909b24bd2e82c096a2 (diff)
downloadopenbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.gz
openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.tar.bz2
openbsd-9fb35611cc3d03bef8b690b62e0904507c414a61.zip
Flesh out libc string function man pages.
Diffstat (limited to 'src/lib/libc/string/memccpy.3')
-rw-r--r--src/lib/libc/string/memccpy.39
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3
index 873d3f784b..feedeff3a6 100644
--- a/src/lib/libc/string/memccpy.3
+++ b/src/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memccpy.3,v 1.5 1999/06/29 18:01:32 aaron Exp $ 1.\" $OpenBSD: memccpy.3,v 1.6 2000/04/21 15:24:19 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991, 1993 3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -46,14 +46,15 @@
46.Sh DESCRIPTION 46.Sh DESCRIPTION
47The 47The
48.Fn memccpy 48.Fn memccpy
49function 49function copies bytes from string
50copies bytes from string
51.Fa src 50.Fa src
52to string 51to string
53.Fa dst . 52.Fa dst .
54If the character 53If the character
55.Fa c 54.Fa c
56(as converted to an unsigned char) occurs in the string 55(as converted to an
56.Li unsigned char )
57occurs in the string
57.Fa src , 58.Fa src ,
58the copy stops and a pointer to the byte after the copy of 59the copy stops and a pointer to the byte after the copy of
59.Fa c 60.Fa c