nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
strdup.c File Reference
#include <sys/types.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for strdup.c:

Go to the source code of this file.

Functions

char * strdup (const char *s)
 문자열을 위한 공간을 할당하고 복사한다. More...
 
char * strdupa (const char *s)
 문자열을 복사하되, alloca 를 써서 메모리를 할당한다. More...
 
char * strndup (const char *s, size_t n)
 
char * strndupa (const char *s, size_t n)
 문자열을 길이만큼 복사하되, alloca 를 써서 메모리를 할당한다. More...