summaryrefslogtreecommitdiffstats
path: root/sys/sys/poll.h
Commit message (Collapse)AuthorAgeFilesLines
* Reconnect a comment with its code.mike2002-07-101-1/+1
| | | | Submitted by: bde
* Bring poll.h up to conformance with POSIX.1-2001 by adding somemike2002-07-081-9/+11
| | | | | visibility conditionals, adding the nfds_t type, and changing the poll() prototype a little. Update the manual to match.
* Cleanup comments.alfred2002-04-181-11/+2
| | | | | | | Remove all current poll(2) extensions except POLLINIGNEOF as they are now unused. Submitted by: bde
* Remove __Palfred2002-03-191-1/+1
|
* Fix select on fifos.alfred2002-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
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+1
| | | | Compatability is not an existing english word.
* Synchronize the poll() prototype with the one provided in thesheldonh2000-08-211-1/+1
| | | | | | | poll(2) manual page. PR: 20677 Submitted by: "Ralf S. Engelschall" <rse@engelschall.com>
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Cleaned up some comments and ifdefs.bde1998-02-031-10/+17
|
* Add support for poll(2) on files. vop_nopoll() now returns POLLNVALwollman1997-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.
* oops, I accidently committed a version without INFTIM at the last moment.peter1997-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.
* Add sys/poll.hpeter1997-09-141-0/+83
OpenPOWER on IntegriCloud