X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7279a2ea28348341347a9a4dc99d54355726290c..5a00610e05eab122e23f56b589d5bb240e6ceda7:/include/xbt/file.h diff --git a/include/xbt/file.h b/include/xbt/file.h index 5920f3ae14..8f6941a540 100644 --- a/include/xbt/file.h +++ b/include/xbt/file.h @@ -1,5 +1,3 @@ -/* str.h - XBT string related functions. */ - /* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ @@ -20,10 +18,10 @@ SG_BEGIN_DECL() -/** @addtogroup XBT_file - * @brief File manipulation functions +/** @defgroup XBT_file File manipulation functions + * @ingroup XBT_misc * - * 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 +30,7 @@ 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); /**@}*/