X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/08da152ecf0c34dbb9fbfa9e863f1057c092e860..ff76c38f2d94c82b234d67e717d855b52e5d6421:/man/selbuf.3?ds=sidebyside diff --git a/man/selbuf.3 b/man/selbuf.3 index 334a563..bedae52 100644 --- a/man/selbuf.3 +++ b/man/selbuf.3 @@ -39,22 +39,22 @@ This object must be allocated by the caller, and initialized using the .B selbuf_init function. This requires a fair few arguments: .TP -.I b +.BI "selbuf *" b Pointer to the .B selbuf object to initialize. .TP -.I s +.BI "sel_state *" s Pointer to a multiplexor object (type .BR sel_state ) to which this selector should be attached. See .BR sel (3) for more details about multiplexors, and how this whole system works. .TP -.I fd +.BI "int " fd The file descriptor of the stream the selector should read from. .TP -.I func +.BI "void (*" func ")(char *" s ", void *" p ) The .I "line handler" function. It is passed a pointer to each line read from the file (or @@ -64,7 +64,7 @@ argument to .B selbuf_init described below). .TP -.I p +.BI "void *" p A pointer argument passed to .I func for each line read from the file. Apart from this, the pointer is not