History log of /openbsd-current/sys/sys/poll.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 07-Jun-2016 deraadt

ktrace support for pollfd[] arrays
ok guenther


Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.14 10-May-2015 millert

Set POLLHUP even if no valid events were specified as per POSIX.
Since we use the poll backend for select(2), care must be taken not
to set the fd's bit in writefds in this case. A kernel-only flag,
POLLNOHUP, is used by selscan() to tell the poll backend not to
return POLLHUP on EOF. This is currently only used by fifo_poll().
The fifofs regress now passes. OK guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.13 29-Apr-2013 guenther

Tweak previous: test __BSD_VISIBLE with #if, not #ifdef

ok matthew@


# 1.12 29-Apr-2013 matthew

Extend P_SIGSUSPEND handling in userret() to properly restore the
sigmask even if there are no pending signals under the temporary
sigmask.

Refactor existing select() and poll() system calls to introduce the
pselect() and ppoll() system calls.

Add rthread wrappers for pselect() and ppoll(). While there, update
cancellation point comments to reflect recent fdatasync() addition.

Minor bumps for libc and librthread due to new symbols.

ok guenther, millert, deraadt, jmc


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 10-Dec-2003 millert

Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.


Revision tags: OPENBSD_3_4_BASE
# 1.10 02-Jun-2003 deraadt

remove terms 3 and 4 of some of my licences


Revision tags: UBC_SYNC_A
# 1.9 25-Apr-2003 tedu

#define POLLNORM as synonym for POLLRDNORM. ok millert@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
# 1.8 13-Sep-2002 naddy

allow inclusion from C++; ok deraadt@


Revision tags: OPENBSD_3_1_BASE
# 1.7 14-Mar-2002 millert

First round of __P removal in sys


Revision tags: OPENBSD_3_0_BASE UBC_BASE
# 1.6 11-Aug-2001 fgsch

branches: 1.6.4;
Define INFTIM to -1, as appears everywhere. Talk about it in the
manpage; millert@ ok.


Revision tags: OPENBSD_2_9_BASE
# 1.5 01-Mar-2001 deraadt

pull in ctype.h, since <poll.h> and <sys/poll.h> have to be useable alone; problem noted by bk@rt.fm


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE SMP_BASE kame_19991208
# 1.4 12-Aug-1998 deraadt

branches: 1.4.8;
poll proto only for userland


# 1.3 11-Aug-1998 deraadt

poll() proto


Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.2 11-Jul-1997 provos

cosmetic changes; netbsd


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE
# 1.1 18-May-1996 deraadt

poll() as a system call