STRNCPY

Section: (9)
Updated: 07 August 2003
Index Return to Main Contents

 

NAME

strncpy - Copy a length-limited, NUL-terminated string  

SYNOPSIS

char * strncpy (char * dest, const char * src, size_t count);  

ARGUMENTS

dest
Where to copy the string to
src
Where to copy the string from
count
The maximum number of bytes to copy
 

DESCRIPTION

Note that unlike userspace strncpy, this does not NUL-pad the buffer. However, the result is not NUL-terminated if the source exceeds count bytes.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:53:46 GMT, April 09, 2004