X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7279a2ea28348341347a9a4dc99d54355726290c..ec7e4e8cc9cae105b82c1274850189c500422da7:/include/xbt/file.h diff --git a/include/xbt/file.h b/include/xbt/file.h index 5920f3ae14..2b577fb579 100644 --- a/include/xbt/file.h +++ b/include/xbt/file.h @@ -23,7 +23,7 @@ SG_BEGIN_DECL() /** @addtogroup XBT_file * @brief File manipulation functions * - * This module redefine some quite classical functions (such as xbt_getline() or xbt_dirname()) for the platforms + * This module redefine some quite classical functions such as xbt_getline() or xbt_dirname() for the platforms * lacking them. * @{ */ @@ -32,6 +32,8 @@ XBT_PUBLIC(ssize_t) xbt_getline(char **lineptr, size_t * n, FILE * stream); /* Our own implementation of dirname, that does not exist on windows */ XBT_PUBLIC(char *) xbt_dirname(const char *path); +XBT_PUBLIC(char *) xbt_basename(const char *path); + /**@}*/