aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/poll.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the ppoll() system call.Dmitry Chagin2014-11-131-0/+18
| | | | | | | | | | | Export kern_poll() needed by an upcoming Linuxulator change. Differential Revision: https://reviews.freebsd.org/D1133 Reviewed by: kib, wblock MFC after: 1 month Notes: svn path=/head/; revision=274462
* Reconnect a comment with its code.Mike Barcroft2002-07-101-1/+1
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=99710
* Bring poll.h up to conformance with POSIX.1-2001 by adding someMike Barcroft2002-07-081-9/+11
| | | | | | | | visibility conditionals, adding the nfds_t type, and changing the poll() prototype a little. Update the manual to match. Notes: svn path=/head/; revision=99593
* Cleanup comments.Alfred Perlstein2002-04-181-11/+2
| | | | | | | | | | Remove all current poll(2) extensions except POLLINIGNEOF as they are now unused. Submitted by: bde Notes: svn path=/head/; revision=94997
* Remove __PAlfred Perlstein2002-03-191-1/+1
| | | | Notes: svn path=/head/; revision=92719
* Fix select on fifos.Alfred Perlstein2002-01-141-1/+4
| | | | | | | | | | | | | | | | Backout revision 1.56 and 1.57 of fifo_vnops.c. Introduce a new poll op "POLLINIGNEOF" that can be used to ignore EOF on a fifo, POLLIN/POLLRDNORM is converted to POLLINIGNEOF within the FIFO implementation to effect the correct behavior. This should allow one to view a fifo pretty much as a data source rather than worry about connections coming and going. Reviewed by: bde Notes: svn path=/head/; revision=89376
* Fix typo: compatability -> compatibility.Jeroen Ruigrok van der Werven2001-02-061-1/+1
| | | | | | | Compatability is not an existing english word. Notes: svn path=/head/; revision=72093
* Synchronize the poll() prototype with the one provided in theSheldon Hearn2000-08-211-1/+1
| | | | | | | | | | poll(2) manual page. PR: 20677 Submitted by: "Ralf S. Engelschall" <rse@engelschall.com> Notes: svn path=/head/; revision=64888
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-2/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55205
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Cleaned up some comments and ifdefs.Bruce Evans1998-02-031-10/+17
| | | | Notes: svn path=/head/; revision=33059
* Add support for poll(2) on files. vop_nopoll() now returns POLLNVALGarrett Wollman1997-12-151-1/+13
| | | | | | | | | | | | | | | | | | | | | | if one of the new poll types is requested; hopefully this will not break any existing code. (This is done so that programs have a dependable way of determining whether a filesystem supports the extended poll types or not.) The new poll types added are: POLLWRITE - file contents may have been modified POLLNLINK - file was linked, unlinked, or renamed POLLATTRIB - file's attributes may have been changed POLLEXTEND - file was extended Note that the internal operation of poll() means that it is impossible for two processes to reliably poll for the same event (this could be fixed but may not be worth it), so it is not possible to rewrite `tail -f' to use poll at this time. Notes: svn path=/head/; revision=31727
* oops, I accidently committed a version without INFTIM at the last moment.Peter Wemm1997-09-141-1/+7
| | | | | | | | I'm not sure that this is the right place to put it, it is 'supposed' to live in stropts.h. Notes: svn path=/head/; revision=29373
* Add sys/poll.hPeter Wemm1997-09-141-0/+83
Notes: svn path=/head/; revision=29347