Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Add EV_SET() to the NAME section



details:   https://anonhg.NetBSD.org/src/rev/83e6e00212b4
branches:  trunk
changeset: 352441:83e6e00212b4
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Sat Apr 01 14:20:45 2017 +0000

description:
Add EV_SET() to the NAME section
Use Xr instead of Fn to refer other man pages
Add some more entries to SEE ALSO

Reviewed by wiz@

diffstat:

 lib/libc/sys/kqueue.2 |  22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diffs (90 lines):

diff -r b22e47f49581 -r 83e6e00212b4 lib/libc/sys/kqueue.2
--- a/lib/libc/sys/kqueue.2     Sat Apr 01 10:51:41 2017 +0000
+++ b/lib/libc/sys/kqueue.2     Sat Apr 01 14:20:45 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kqueue.2,v 1.36 2016/12/19 07:48:35 abhinav Exp $
+.\"    $NetBSD: kqueue.2,v 1.37 2017/04/01 14:20:45 abhinav Exp $
 .\"
 .\" Copyright (c) 2000 Jonathan Lemon
 .\" All rights reserved.
@@ -38,7 +38,8 @@
 .Sh NAME
 .Nm kqueue ,
 .Nm kqueue1 ,
-.Nm kevent
+.Nm kevent ,
+.Nm EV_SET
 .Nd kernel event notification mechanism
 .Sh LIBRARY
 .Lb libc
@@ -76,7 +77,7 @@
 kevents being placed on the kqueue; instead, the filter will aggregate
 the events into a single struct kevent.
 Calling
-.Fn close
+.Xr close 2
 on a file descriptor will remove any kevents that reference the descriptor.
 .Pp
 .Fn kqueue
@@ -302,7 +303,7 @@
 .Bl -tag -width 2n
 .It Sockets
 Sockets which have previously been passed to
-.Fn listen
+.Xr listen 2
 return when there is an incoming connection pending.
 .Va data
 contains the size of the listen backlog (i.e., the number of
@@ -395,7 +396,7 @@
 The events to monitor are:
 .Bl -tag -width XXNOTE_RENAME
 .It NOTE_DELETE
-.Fn unlink
+.Xr unlink 2
 was called on the file referenced by the descriptor.
 .It NOTE_WRITE
 A write occurred on the file referenced by the descriptor.
@@ -430,14 +431,14 @@
 .Va data .
 .It NOTE_FORK
 The process has called
-.Fn fork .
+.Xr fork 2 .
 .It NOTE_EXEC
 The process has executed a new process via
 .Xr execve 2
 or similar call.
 .It NOTE_TRACK
 Follow a process across
-.Fn fork
+.Xr fork 2
 calls.
 The parent process will return with NOTE_TRACK set in the
 .Va fflags
@@ -457,9 +458,9 @@
 Takes the signal number to monitor as the identifier and returns
 when the given signal is delivered to the current process.
 This coexists with the
-.Fn signal
+.Xr signal 3
 and
-.Fn sigaction
+.Xr sigaction 2
 facilities, and has a lower precedence.
 The filter will record
 all attempts to deliver a signal to a process, even if the signal has
@@ -632,11 +633,14 @@
 .\" .Xr aio_error 2 ,
 .\" .Xr aio_read 2 ,
 .\" .Xr aio_return 2 ,
+.Xr fork 2 ,
 .Xr ioctl 2 ,
+.Xr listen 2 ,
 .Xr poll 2 ,
 .Xr read 2 ,
 .Xr select 2 ,
 .Xr sigaction 2 ,
+.Xr unlink 2 ,
 .Xr write 2 ,
 .Xr signal 3 ,
 .Xr kfilter_register 9 ,



Home | Main Index | Thread Index | Old Index