summaryrefslogtreecommitdiffstats
path: root/contrib/diff/version.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-12-15 03:09:59 +0000
committerwollman <wollman@FreeBSD.org>1997-12-15 03:09:59 +0000
commit1a06d8809828f2017adc8b31c76d4f07c3a92169 (patch)
treede4e7dc4bf84fe154d0df8264982bcf11791b066 /contrib/diff/version.c
parentb7cdca40ba7917454003700ecf7d97d1c402ac47 (diff)
downloadFreeBSD-src-1a06d8809828f2017adc8b31c76d4f07c3a92169.zip
FreeBSD-src-1a06d8809828f2017adc8b31c76d4f07c3a92169.tar.gz
Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL
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.
Diffstat (limited to 'contrib/diff/version.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud