Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 13:01:09 +0300
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Jonathan Lemon <jlemon@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/sys kqueue.2 Makefile.inc
Message-ID:  <20000506130109.A5339@phantom.cris.net>
In-Reply-To: <200005042011.NAA23864@freefall.freebsd.org>; from jlemon@FreeBSD.org on Thu, May 04, 2000 at 01:11:43PM -0700
References:  <200005042011.NAA23864@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

On Thu, May 04, 2000 at 01:11:43PM -0700, Jonathan Lemon wrote:
> jlemon      2000/05/04 13:11:42 PDT
> 
>   Modified files:
>     lib/libc/sys         Makefile.inc 
>   Added files:
>     lib/libc/sys         kqueue.2 
>   Log:
>   Add a kqueue(2) manual page.

Some mdoc(7) tweaks on that page.

-- 
/* Alexey Zelkin                       && phantom@cris.net    */
/* Tavric National University          && phantom@crimea.edu  */
/* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */

Index: Makefile.inc
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/Makefile.inc,v
retrieving revision 1.77
diff -u -r1.77 Makefile.inc
--- Makefile.inc	2000/05/04 20:11:37	1.77
+++ Makefile.inc	2000/05/06 09:51:58
@@ -126,6 +126,7 @@
 MLINKS+=gettimeofday.2 settimeofday.2
 MLINKS+=getuid.2 geteuid.2
 MLINKS+=intro.2 errno.2
+MLINKS+=kqueue.2 kevent.2
 MLINKS+=lseek.2 seek.2
 MLINKS+=mlock.2 munlock.2
 MLINKS+=mount.2 unmount.2

Index: kqueue.2
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/kqueue.2,v
retrieving revision 1.1
diff -u -r1.1 kqueue.2
--- kqueue.2	2000/05/04 20:11:38	1.1
+++ kqueue.2	2000/05/06 09:55:13
@@ -28,8 +28,11 @@
 .Dt KQUEUE 2
 .Os
 .Sh NAME
-.Nm kqueue, kevent
+.Nm kqueue ,
+.Nm kevent
 .Nd kernel event notification mechanism
+.Sh LIBRARY
+.Lb libc
 .Sh SYNOPSIS
 .Fd #include <sys/event.h>
 .Ft int
@@ -44,18 +47,18 @@
 pieces of kernel code termed filters.
 An kevent is identified by the (ident, filter) pair; there may only
 be one unique kevent per kqueue.
-
+.Pp
 The filter is executed upon the initial registration of a kevent
 in order to detect a preexisting condition is present, and is also
 executed whenever an event is passed to the filter for evaluation.
 If the filter determines that the condition should be reported,
 then the kevent is placed on the kqueue for the user to retrieve.
-
+.Pp
 The filter is also run when the user attempts to retrieve the kevent
 from the kqueue, and if the filter indicates the condition that triggered
 the event no longer holds, the kevent is removed from the kqueue and
 is not returned. 
-
+.Pp
 Multiple events which trigger the filter do not result in multiple
 kevents being placed on the kqueue; instead, the filter will aggregate
 the events into a single struct kevent.
@@ -385,7 +388,7 @@
 .Xr select 2 ,
 .Xr signal 3 ,
 .Xr sigaction 2 ,
-.Xr write 2 .
+.Xr write 2
 .Sh HISTORY
 The
 .Fn kqueue
@@ -393,8 +396,8 @@
 .Fn kevent
 functions first appeared in
 .Fx 5.0 .
-.Sh AUTHOR
+.Sh AUTHORS
 The
 .Fn kqueue
 system and this manual page were written by
-.An Jonathan Lemon Aq jlemon@freebsd.org .
+.An Jonathan Lemon Aq jlemon@FreeBSD.org .


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000506130109.A5339>