X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=fd.c;h=5c125faaf90e9cdd5e7d725a933c30eddc6d7e32;hp=40eb2fa1e6c3d1562d444a35f682a580c3327626;hb=07469b2e348eb034fa12cc6b4b448f68f7b8e93b;hpb=694171759afb90bfdc552676ff6d04697c93af00 diff --git a/fd.c b/fd.c index 40eb2fa..5c125fa 100644 --- a/fd.c +++ b/fd.c @@ -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)