X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=fd.h;fp=fd.h;h=0000000000000000000000000000000000000000;hp=991afd4baa81755594f15016ff48a19632e8836d;hb=46cbddf465bd66ba1d5c4bcc780ae0d65abd7f73;hpb=b471b45977f22e3a0628befda4ad84e07fac4391 diff --git a/fd.h b/fd.h deleted file mode 100644 index 991afd4..0000000 --- a/fd.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (C) 2006-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ -int dss_chdir(const char *path); -int for_each_subdir(int (*func)(const char *, void *), void *private_data); -__must_check int mark_fd_nonblocking(int fd); -/** - * A wrapper for rename(2). - * - * \param old_path The source path. - * \param new_path The destination path. - * - * \return Standard. - * - * \sa rename(2). - */ -_static_inline_ int dss_rename(const char *old_path, const char *new_path) -{ - if (rename(old_path, new_path) >= 0) - return 1; - return -ERRNO_TO_DSS_ERROR(errno); -} - -int dss_select(int n, fd_set *readfds, fd_set *writefds, - struct timeval *timeout_tv);