MEMCCPY
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
memccpy
SYNOPSIS
Fd #include <string.h>
Ft void *
Fn memccpy void *dst const void *src int c size_t len
DESCRIPTION
The
Fn memccpy
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
Fa src ,
the copy stops and a pointer to the byte after the copy of
Fa c
in the string
Fa dst
is returned.
Otherwise,
Fa len
bytes are copied, and a NULL pointer is returned.
SEE ALSO
bcopy(3),
memcpy(3),
memmove(3),
strcpy(3)
HISTORY
The
Fn memccpy
function is
Ud .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 19:41:57 GMT, December 25, 2022