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)  

dirname.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include "dosname.h"
Include dependency graph for dirname.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




char * mdir_name (char const *file)
size_t base_len (char const *file) _GL_ATTRIBUTE_PURE
size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE
char * last_component (char const *file) _GL_ATTRIBUTE_PURE
bool strip_trailing_slashes (char *file)

Macro Definition Documentation



Definition at line 27 of file dirname.h.



Definition at line 31 of file dirname.h.

Function Documentation

◆ base_len()

◆ dir_len()

◆ last_component()

char* last_component ( char const file)

◆ mdir_name()

char* mdir_name ( char const file)

◆ strip_trailing_slashes()

bool strip_trailing_slashes ( char *  file)

Definition at line 31 of file stripslash.c.

References base_len(), and last_component().

Referenced by cpio_create_dir().