X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=fd.h;h=32a3ad3df108e297dbe3c22c1fae520c6a835ba9;hp=ad8194206580b07008311a64e0360ca09aca81e4;hb=b28313671025c02d96f2dd7927018b8e54bf4fec;hpb=694171759afb90bfdc552676ff6d04697c93af00 diff --git a/fd.h b/fd.h index ad81942..32a3ad3 100644 --- a/fd.h +++ b/fd.h @@ -4,11 +4,12 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file fd.h exported symbols from fd.c */ +/** \file fd.h \brief Exported symbols from fd.c */ -int para_opendir(const char *dirname, DIR **dir, int *cwd); -int para_fchdir(int fd); +int adu_opendir(const char *dirname, DIR **dir, int *cwd); +int adu_fchdir(int fd); int mmap_full_file(const char *filename, int open_mode, void **map, size_t *size, int *fd_ptr); -int para_munmap(void *start, size_t length); -int para_write_file(const char *filename, const void *buf, size_t size); +int adu_munmap(void *start, size_t length); +int adu_write_file(const char *filename, const void *buf, size_t size); +int mkpath(const char *p, mode_t mode);