summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/memccpy.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/memccpy.3')
-rw-r--r--src/lib/libc/string/memccpy.314
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3
index a06e60cf5d..2fabd2f5ea 100644
--- a/src/lib/libc/string/memccpy.3
+++ b/src/lib/libc/string/memccpy.3
@@ -1,5 +1,7 @@
1.\" Copyright (c) 1990, 1991 The Regents of the University of California. 1.\" $OpenBSD: memccpy.3,v 1.3 1997/08/20 04:09:39 millert Exp $
2.\" All rights reserved. 2.\"
3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
3.\" 5.\"
4.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
@@ -29,13 +31,14 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
31.\" 33.\"
32.\" $OpenBSD: memccpy.3,v 1.2 1996/08/19 08:34:03 tholo Exp $ 34.\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93
33.\" 35.\"
34.Dd April 19, 1991 36.Dd June 9, 1993
35.Dt MEMCCPY 3 37.Dt MEMCCPY 3
36.Os 38.Os
37.Sh NAME 39.Sh NAME
38.Nm memccpy 40.Nm memccpy
41.Nd copy string until character found
39.Sh SYNOPSIS 42.Sh SYNOPSIS
40.Fd #include <string.h> 43.Fd #include <string.h>
41.Ft void * 44.Ft void *
@@ -68,5 +71,4 @@ bytes are copied, and a NULL pointer is returned.
68.Sh HISTORY 71.Sh HISTORY
69The 72The
70.Fn memccpy 73.Fn memccpy
71function is 74function first appeared in 4.4BSD.
72.Ud .