chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70f2c2
)
struct/buf.3.in: Correct the type of `buf_put' in the synopsis.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 9 Jul 2024 17:07:59 +0000
(18:07 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 9 Jul 2024 17:07:59 +0000
(18:07 +0100)
struct/buf.3.in
patch
|
blob
|
blame
|
history
diff --git
a/struct/buf.3.in
b/struct/buf.3.in
index 1de59e1f7866b31555112a622b086d85236d6c15..f69d2049f1e033252bf8e026557061c82bc38677 100644
(file)
--- a/
struct/buf.3.in
+++ b/
struct/buf.3.in
@@
-535,7
+535,7
@@
and taking a first argument of type
.BI "octet *BSTEP(buf *" b ", size_t " sz );
.PP
.BI "void *buf_get(buf *" b ", size_t " sz );
-.BI "
void *
buf_put(buf *" b ", const void *" p ", size_t " sz );
+.BI "
int
buf_put(buf *" b ", const void *" p ", size_t " sz );
.PP
.BI "int buf_getbyte(buf *" b );
.BI "int buf_putbyte(buf *" b ", int " ch );