X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=fd.h;h=e24d446cb702a4bac88456ed5aabc33bdc5937d3;hp=fa14ad2bdf1221872a5417b7ee0e90e5effac1b7;hb=e48b4261f4784f603f4409dea7d6b9061307c384;hpb=c418d2188c9c2c542270023d6fc3bc6cf34f8d29 diff --git a/fd.h b/fd.h index fa14ad2..e24d446 100644 --- a/fd.h +++ b/fd.h @@ -21,3 +21,6 @@ _static_inline_ int dss_rename(const char *old_path, const char *new_path) make_err_msg("rename %s -> %s failed", old_path, new_path); return ret; } + +int dss_select(int n, fd_set *readfds, fd_set *writefds, + struct timeval *timeout_tv);