Sat Oct 31 14:35:28 2020 UTC ()
add missing sentence.


(christos)
diff -r1.52 -r1.53 src/lib/libc/sys/kqueue.2

cvs diff -r1.52 -r1.53 src/lib/libc/sys/kqueue.2 (expand / switch to unified diff)

--- src/lib/libc/sys/kqueue.2 2020/10/31 10:51:59 1.52
+++ src/lib/libc/sys/kqueue.2 2020/10/31 14:35:28 1.53
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: kqueue.2,v 1.52 2020/10/31 10:51:59 wiz Exp $ 1.\" $NetBSD: kqueue.2,v 1.53 2020/10/31 14:35:28 christos Exp $
2.\" 2.\"
3.\" Copyright (c) 2000 Jonathan Lemon 3.\" Copyright (c) 2000 Jonathan Lemon
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc. 6.\" Copyright (c) 2001, 2002, 2003 The NetBSD Foundation, Inc.
7.\" All rights reserved. 7.\" All rights reserved.
8.\" 8.\"
9.\" Portions of this documentation is derived from text contributed by 9.\" Portions of this documentation is derived from text contributed by
10.\" Luke Mewburn. 10.\" Luke Mewburn.
11.\" 11.\"
12.\" Redistribution and use in source and binary forms, with or without 12.\" Redistribution and use in source and binary forms, with or without
13.\" modification, are permitted provided that the following conditions 13.\" modification, are permitted provided that the following conditions
14.\" are met: 14.\" are met:
@@ -382,26 +382,27 @@ Returns when there is data to read; @@ -382,26 +382,27 @@ Returns when there is data to read;
382contains the number of bytes available. 382contains the number of bytes available.
383.Pp 383.Pp
384When the last writer disconnects, the filter will set EV_EOF in 384When the last writer disconnects, the filter will set EV_EOF in
385.Va flags . 385.Va flags .
386This may be cleared by passing in EV_CLEAR, at which point the 386This may be cleared by passing in EV_CLEAR, at which point the
387filter will resume waiting for data to become available before 387filter will resume waiting for data to become available before
388returning. 388returning.
389.It "BPF devices" 389.It "BPF devices"
390Returns when the BPF buffer is full, the BPF timeout has expired, or 390Returns when the BPF buffer is full, the BPF timeout has expired, or
391when the BPF has 391when the BPF has
392.Dq immediate mode 392.Dq immediate mode
393enabled and there is any data to read; 393enabled and there is any data to read;
394.Va data 394.Va data
 395contains the number of bytes available.
395.El 396.El
396.It Dv EVFILT_WRITE 397.It Dv EVFILT_WRITE
397Takes a descriptor as the identifier, and returns whenever 398Takes a descriptor as the identifier, and returns whenever
398it is possible to write to the descriptor. 399it is possible to write to the descriptor.
399For sockets, pipes, fifos, and ttys, 400For sockets, pipes, fifos, and ttys,
400.Va data 401.Va data
401will contain the amount of space remaining in the write buffer. 402will contain the amount of space remaining in the write buffer.
402The filter will set EV_EOF when the reader disconnects, and for 403The filter will set EV_EOF when the reader disconnects, and for
403the fifo case, this may be cleared by use of EV_CLEAR. 404the fifo case, this may be cleared by use of EV_CLEAR.
404Note that this filter is not supported for vnodes. 405Note that this filter is not supported for vnodes.
405.Pp 406.Pp
406For sockets, the low water mark and socket error handling is 407For sockets, the low water mark and socket error handling is
407identical to the EVFILT_READ case. 408identical to the EVFILT_READ case.