X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/1135ca5456cba54c862f8cd9d568c9c3a2b7e905..ff76c38f2d94c82b234d67e717d855b52e5d6421:/man/lbuf.3 diff --git a/man/lbuf.3 b/man/lbuf.3 index ecd58aa..beab46f 100644 --- a/man/lbuf.3 +++ b/man/lbuf.3 @@ -42,16 +42,16 @@ The function .B lbuf_init initializes a line buffer ready for use. It is given three arguments: .TP -.I b +.BI "lbuf *" b A pointer to the block of memory to use for the line buffer. This is all the memory the line buffer requires. .TP -.I func +.BI "void (*" func ")(char *" s ", void *" p ) The .I line-handler function to which the line buffer should pass completed lines of text. .TP -.I p +.BI "void *" p A pointer argument to be passed to the function when a completed line of text arrives. .PP @@ -101,15 +101,15 @@ Once the free area has had some data written to it, is called to examine the new data and break it into text lines. This is given three arguments: .TP -.I b +.BI "lbuf *" b The address of the line buffer. .TP -.I p +.BI "char *" p The address at which the new data has been written. This must be the base address returned from .BR lbuf_free . .TP -.I len +.BI "size_t " len The number of bytes which have been written to the buffer. .PP The