~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include types with tabulated function arguments and structure members.
[mLib]
/
man
/
lbuf.3
diff --git
a/man/lbuf.3
b/man/lbuf.3
index
ecd58aa
..
beab46f
100644
(file)
--- 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
.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
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
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
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
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
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
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
The number of bytes which have been written to the buffer.
.PP
The