cpio  2.13
About: GNU cpio copies files into or out of a cpio or tar archive.
  Fossies Dox: cpio-2.13.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

xstrndup.c File Reference
#include <config.h>
#include "xstrndup.h"
#include <string.h>
#include "xalloc.h"
Include dependency graph for xstrndup.c:

Go to the source code of this file.

Functions

char * xstrndup (const char *string, size_t n)
 

Function Documentation

◆ xstrndup()

char* xstrndup ( const char *  string,
size_t  n 
)

Definition at line 30 of file xstrndup.c.

References strndup(), and xalloc_die().

Referenced by base_name().