]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/poll.h
select: add poll_select_set_timeout() and poll_select_copy_remaining() helpers
[karo-tx-linux.git] / include / linux / poll.h
index ef453828877a35aefc4bbdd1a4753734bbccd882..f65de5128a9ed3125db7c860ac6ccbfbc47cb8a6 100644 (file)
@@ -120,6 +120,8 @@ extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
 extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp,
                           fd_set __user *exp, s64 *timeout);
 
+extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec);
+
 #endif /* KERNEL */
 
 #endif /* _LINUX_POLL_H */