X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/528c8b4da156391a0f7b93ae94eda76a439f7f16..d4efbcd93c940ad522fcf8c601ec1829d2e0b10d:/man/lbuf.3 diff --git a/man/lbuf.3 b/man/lbuf.3 index 29609fb..6595f30 100644 --- a/man/lbuf.3 +++ b/man/lbuf.3 @@ -96,11 +96,11 @@ The complex interface is the pair of functions and .BR lbuf_flush . .PP -The +The .B lbuf_free function returns the address and size of a free portion of the line buffer's memory into which data may be written. The function is passed -the address +the address .I b of the line buffer. Its result is the size of the free area, and it writes the base address of this free space to the location pointed to by @@ -213,12 +213,12 @@ signalled to the higher-level object so that it can detach itself from its data source. .PP Rather than invent some complex interface for this, the line buffer -exports one of its structure members, -.BR flags . +exports one of its structure members, a flags word called +.BR f . A higher-level object wishing to disable the line buffer simply clears the bit .B LBUF_ENABLE -in the flags word. +in this flags word. .PP Disabling a buffer causes an immediate return from .BR lbuf_flush . @@ -237,4 +237,4 @@ general .BR selbuf (3), .BR mLib (3). .SH "AUTHOR" -Mark Wooding, +Mark Wooding,