X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/1101f87ace7e0b3be886220d4faa13954fd35c6b..36b6fecc4670f4d351cd662a6772a5a196108ceb:/man/sel.3 diff --git a/man/sel.3 b/man/sel.3 index 8af80f0..de62ed1 100644 --- 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, +Mark Wooding,