Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/strncpy.c File Reference

Go to the source code of this file.

Functions

char * strncpy (char *s1, char *s2, int n)


Detailed Description

strncpy

Id
strncpy.c 221 2007-07-11 18:45:46Z mschul

Definition in file strncpy.c.


Function Documentation

char* strncpy ( char *  s1,
char *  s2,
int  n 
)

Copy string s2 to s1, truncating or null-padding to always copy n bytes.

Parameters:
s1 first string
s2 second string
n length of s2 to copy
Returns:
s1

Definition at line 16 of file strncpy.c.

Referenced by create(), platforminit(), and sysinit().


Generated on Thu Oct 9 22:34:51 2008 for xinu by  doxygen 1.5.5