FreeBSD kernel libkern code
strdup.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/libkern.h>
#include <sys/malloc.h>
Include dependency graph for strdup.c:

Go to the source code of this file.

Functions

 __FBSDID ("$BSDSUniX$")
 
char * strdup (const char *string, struct malloc_type *type)
 

Function Documentation

__FBSDID ( "$BSDSUniX$"  )
char* strdup ( const char *  string,
struct malloc_type *  type 
)

Definition at line 41 of file strdup.c.

References strlen().

Here is the call graph for this function: