chiark / gitweb /
Actually implement the right transformation!
[mLib] / man / sel.3
index 8af80f007b5641e151f820954d7a3356f0143230..de62ed1e6d8c9a427a586e22fcb70e8bee5fe37e 100644 (file)
--- a/man/sel.3
+++ b/man/sel.3
@@ -1,5 +1,5 @@
 .\" -*-nroff-*-
-.TH sel 3 "22 May 1999" mLib
+.TH sel 3 "22 May 1999" "Straylight/Edgeware" "mLib utilities library"
 .SH NAME
 sel \- low level interface for waiting for I/O
 .\" @sel_init
@@ -30,6 +30,7 @@ sel \- low level interface for waiting for I/O
 .BI "void sel_addtimer(sel_state *" s ", sel_timer *" t ,
 .BI "                  struct timeval *" tv ,
 .BI "                  void (*" func ")(struct timeval *" tv ", void *" p ),
+.BI "                  void *" p );
 .BI "void sel_rmtimer(sel_timer *" t );
 
 .BI "void sel_addhook(sel_state *" s ", sel_hook *" h ,
@@ -270,7 +271,7 @@ is passed a multiplexor object.  It waits for something interesting to
 happen, informs the appropriate selector handlers, and returns.  If
 everything went according to plan,
 .B sel_select
-returns zero.  Otherwise it returns -1, and the global variable
+returns zero.  Otherwise it returns \-1, and the global variable
 .B errno
 is set appropriately.
 .SS "Hook functions"
@@ -390,4 +391,4 @@ though.
 .BR selbuf (3),
 .BR mLib (3).
 .SH AUTHOR
-Mark Wooding, <mdw@nsict.org>
+Mark Wooding, <mdw@distorted.org.uk>