SimGrid  3.14.159
Versatile Simulation of Distributed Systems
xbt_os_file.c File Reference
#include "xbt/sysdep.h"
#include "xbt/file.h"
#include "xbt/log.h"
#include "src/internal_config.h"
#include "libgen.h"

Functions

ssize_t xbt_getline (char **buf, size_t *n, FILE *stream)
 Get a single line from the stream (reimplementation of the GNU getline) More...
 
char * xbt_dirname (const char *path)
 Returns the directory component of a path (reimplementation of POSIX dirname) More...
 
char * xbt_basename (const char *path)
 Returns the file component of a path (reimplementation of POSIX basename) More...