OpenBSD CVS

CVS log for src/sys/sys/poll.h


[BACK] Up to [local] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 7 06:12:37 2016 UTC (8 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

ktrace support for pollfd[] arrays
ok guenther

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 10 22:35:38 2015 UTC (9 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

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 1.13 / (download) - annotate - [select for diffs], Mon Apr 29 18:35:07 2013 UTC (11 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

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

ok matthew@

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 29 17:06:20 2013 UTC (11 years, 1 month ago) by matthew
Branch: MAIN
Changes since 1.11: +27 -2 lines
Diff to previous 1.11 (colored)

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 1.4.8.7 / (download) - annotate - [select for diffs], Thu Feb 19 11:01:33 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.4.8.6: +6 -4 lines
Diff to previous 1.4.8.6 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 10 23:10:08 2003 UTC (20 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.10: +6 -4 lines
Diff to previous 1.10 (colored)

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

Revision 1.4.8.6 / (download) - annotate - [select for diffs], Sat Jun 7 11:09:07 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.4.8.5: +1 -3 lines
Diff to previous 1.4.8.5 (colored) to branchpoint 1.4 (colored)

Sync SMP branch to -current

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 2 04:04:54 2003 UTC (21 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

remove terms 3 and 4 of some of my licences

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:32:19 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.6.4.2: +2 -1 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync

Revision 1.4.8.5 / (download) - annotate - [select for diffs], Tue May 13 19:36:57 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.4.8.4: +2 -1 lines
Diff to previous 1.4.8.4 (colored) to branchpoint 1.4 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Apr 25 22:13:06 2003 UTC (21 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

#define POLLNORM as synonym for POLLRDNORM.  ok millert@

Revision 1.4.8.4 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:30 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.4.8.3: +2 -0 lines
Diff to previous 1.4.8.3 (colored) to branchpoint 1.4 (colored)

Sync the SMP branch with 3.3

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:49 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.6.4.1: +3 -1 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

sync to -current

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 13 01:36:07 2002 UTC (21 years, 9 months ago) by naddy
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

allow inclusion from C++; ok deraadt@

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:32:33 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Sync UBC branch to -current

Revision 1.4.8.3 / (download) - annotate - [select for diffs], Thu Mar 28 14:52:01 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.4.8.2: +2 -2 lines
Diff to previous 1.4.8.2 (colored) to branchpoint 1.4 (colored)

Merge in -current from roughly a week ago

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:14 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

First round of __P removal in sys

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Wed Oct 31 03:30:30 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.4.8.1: +3 -1 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 11 08:13:18 2001 UTC (22 years, 10 months ago) by fgsch
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0
Branch point for: UBC
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

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

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon May 14 22:45:03 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 1 01:32:50 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 12 17:34:29 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Branch point for: SMP
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

poll proto only for userland

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 11 21:18:19 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

poll() proto

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 11 22:24:31 1997 UTC (26 years, 11 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

cosmetic changes; netbsd

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 18 08:53:08 1996 UTC (28 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0

poll() as a system call

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.