A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change the way we identify opened files. The same process on the same
[simgrid.git]
/
include
/
xbt
/
file.h
diff --git
a/include/xbt/file.h
b/include/xbt/file.h
index
5920f3a
..
2b577fb
100644
(file)
--- a/
include/xbt/file.h
+++ b/
include/xbt/file.h
@@
-23,7
+23,7
@@
SG_BEGIN_DECL()
/** @addtogroup XBT_file
* @brief File manipulation functions
*
/** @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.
* @{
*/
* 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);
/* 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);
+
/**@}*/
/**@}*/