X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=fd.h;h=270d0ce200df30f16333fcfbdb47173500cacddc;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=ea6307b2d5145d3ce38b0372f2e308a468d94ab4;hpb=bb899fb1a0c279a2890ff30d11bf7aec50fb92ed;p=paraslash.git diff --git a/fd.h b/fd.h index ea6307b2..270d0ce2 100644 --- a/fd.h +++ b/fd.h @@ -6,7 +6,7 @@ int xrename(const char *oldpath, const char *newpath); int write_all(int fd, const char *buf, size_t len); __printf_2_3 int write_va_buffer(int fd, const char *fmt, ...); bool file_exists(const char *); -int para_select(int n, fd_set *readfds, fd_set *writefds, int timeout); +int xpoll(struct pollfd *fds, nfds_t nfds, int timeout); __must_check int mark_fd_nonblocking(int fd); __must_check int mark_fd_blocking(int fd); int para_mmap(size_t length, int prot, int flags, int fd, void *map);