welibc
A clear, secure, and well documented standard C library
|
Go to the documentation of this file.
58 strncpy(
char *s1,
const char *s2,
size_t n)
65 ((((
unsigned long) -1) - ((
unsigned long) s1)) < len) ||
66 ((((
unsigned long) -1) - ((
unsigned long) s2)) < len))
80 memset(s1 + len + 1,
'\0', n - len - 1);
size_t strlen(const char *s)
Computes the length of a string.
char * strcpy(char *s1, const char *s2)
Copies a string with null terminator from s2 into s1.
Declares types, functions, and macros for manipulating arrays of character type and other objects tre...
void * memset(void *s, int c, size_t n)
Copies the value c into the first n characters of object s.
char * strncpy(char *s1, const char *s2, size_t n)
Copies no more than n characters with null terminator from s2 to s1.
void * memmove(void *s1, const void *s2, size_t n)
Copies n characters from s2 into s1.