X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=fd.h;h=32a3ad3df108e297dbe3c22c1fae520c6a835ba9;hp=87083c2dcc81292499b417cd7c7366e205ad6295;hb=61a9284a7dbcffd2a770135d5f2482ae10459ab9;hpb=f732616f8be8b2c8b4137108faa25eeaccb77499 diff --git a/fd.h b/fd.h index 87083c2..32a3ad3 100644 --- a/fd.h +++ b/fd.h @@ -4,7 +4,7 @@ * 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 adu_opendir(const char *dirname, DIR **dir, int *cwd); int adu_fchdir(int fd); @@ -12,3 +12,4 @@ int mmap_full_file(const char *filename, int open_mode, void **map, size_t *size, int *fd_ptr); 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);