.\" -*-nroff-*-
-.TH selbuf 3mLib "23 May 1999" mLib
+.TH selbuf 3 "23 May 1999" mLib
.SH NAME
selbuf \- line-buffering input selector
+.\" @selbuf_enable
+.\" @selbuf_disable
+.\" @selbuf_init
.SH SYNOPSIS
.nf
.B "#include <mLib/selbuf.h>"
The
.B selbuf
subsystem is a selector which integrates with the
-.BR sel (3mLib)
+.BR sel (3)
system for I/O multiplexing. It reads entire text lines from a file
descriptor and passes them to a caller-defined function. It uses the
line buffer described in
-.BR lbuf (3mLib)
+.BR lbuf (3)
to do its work: you should read about it in order to understand exactly
what gets considered to be a line of text and what doesn't, and the
exact rules about what your line handling function should and shouldn't
Pointer to a multiplexor object (type
.BR sel_state )
to which this selector should be attached. See
-.BR sel (3mLib)
+.BR sel (3)
for more details about multiplexors, and how this whole system works.
.TP
.I fd
the next
.B sel_select
call.
+.SH "SEE ALSO"
+.BR lbuf (3),
+.BR sel (3),
+.BR mLib (3).
.SH AUTHOR
Mark Wooding, <mdw@nsict.org>