X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=fd.c;h=e1d243e1e8f34006326bdfab72f24455ad801eff;hp=40eb2fa1e6c3d1562d444a35f682a580c3327626;hb=4e757d60f7642c61e09a20a2a1de442b23208966;hpb=694171759afb90bfdc552676ff6d04697c93af00 diff --git a/fd.c b/fd.c index 40eb2fa..e1d243e 100644 --- a/fd.c +++ b/fd.c @@ -4,7 +4,7 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file fd.c Helper functions for file descriptor handling. */ +/** \file fd.c \brief Helper functions for file descriptor handling. */ #include #include @@ -98,7 +98,7 @@ static int __open(const char *path, int flags, mode_t mode) * * \return Standard. */ -int para_write_file(const char *filename, const void *buf, size_t size) +int adu_write_file(const char *filename, const void *buf, size_t size) { int ret, fd; @@ -155,7 +155,7 @@ int __chdir(const char *path) * \sa getcwd(3). * */ -int para_opendir(const char *dirname, DIR **dir, int *cwd) +int adu_opendir(const char *dirname, DIR **dir, int *cwd) { int ret; @@ -188,7 +188,7 @@ close_cwd: * * \return Standard. */ -int para_fchdir(int fd) +int adu_fchdir(int fd) { if (fchdir(fd) < 0) return -ERRNO_TO_ERROR(errno); @@ -263,7 +263,7 @@ out: * * \sa munmap(2), mmap_full_file(). */ -int para_munmap(void *start, size_t length) +int adu_munmap(void *start, size_t length) { int err; if (munmap(start, length) >= 0)