STRLCPY

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

strlcpy - Copy a NUL terminated string into a sized buffer  

SYNOPSIS

"SYNOPSIS"

size_t strlcpy (char * dest, const char * src, size_t size);  

ARGUMENTS

dest
Where to copy the string to
src
Where to copy the string from
size
size of destination buffer
 

BSD

the result is always a valid NUL-terminated string that fits in the buffer (unless, of course, the buffer size is zero). It does not pad out the result like strncpy does.


 

Index

NAME
SYNOPSIS
ARGUMENTS
BSD

This document was created by man2html, using the manual pages.
Time: 07:07:30 GMT, October 06, 2005