You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef __ESCAPE_LIBGEN_H__
|
|
|
|
#define __ESCAPE_LIBGEN_H__
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file escape_libgen.h
|
|
|
|
* @brief The file that provides functions ported from Unix in libgen.h.
|
|
|
|
* @defgroup Escape_Libgen_Group Libgen.h functions.
|
|
|
|
* @ingroup Escape
|
|
|
|
*
|
|
|
|
* This header provides functions ported from Unix in libgen.h.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
EAPI char *escape_basename(char *path);
|
|
|
|
|
|
|
|
#ifdef basename
|
|
|
|
#undef basename
|
|
|
|
#endif
|
|
|
|
#define basename(p) escape_basename(p)
|
|
|
|
|
|
|
|
EAPI char *escape_dirname(char *path);
|
|
|
|
|
|
|
|
#ifdef dirname
|
|
|
|
#undef dirname
|
|
|
|
#endif
|
|
|
|
#define dirname(p) escape_dirname(p)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endif /* __ESCAPE_LIBGEN_H__ */
|