ReactOS 0.4.15-dev-7924-g5949c20
libgen.h File Reference
#include <crtdefs.h>
Include dependency graph for libgen.h:

Go to the source code of this file.

Functions

__cdecl __MINGW_NOTHROW charbasename (char *)
 
__cdecl __MINGW_NOTHROW chardirname (char *)
 

Function Documentation

◆ basename()

__cdecl __MINGW_NOTHROW char * basename ( char path)

Definition at line 110 of file util.c.

111{
112 char *base;
113
115 if (base)
116 return ++base;
117 return path;
118}
#define PATH_CHAR
Definition: rmkdir.c:17
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)

◆ dirname()