projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
select: add poll_select_set_timeout() and poll_select_copy_remaining() helpers
[h-e-n]
/
include
/
linux
/
poll.h
diff --git
a/include/linux/poll.h
b/include/linux/poll.h
index
ef45382
..
f65de51
100644
(file)
--- a/
include/linux/poll.h
+++ b/
include/linux/poll.h
@@
-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 */