From: Mark Wooding Date: Tue, 9 Jul 2024 17:07:59 +0000 (+0100) Subject: struct/buf.3.in: Correct the type of `buf_put' in the synopsis. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/commitdiff_plain/08bb7015a9e28c5c9d38fe05a6f6644bc21fa527?ds=inline struct/buf.3.in: Correct the type of `buf_put' in the synopsis. --- diff --git a/struct/buf.3.in b/struct/buf.3.in index 1de59e1..f69d204 100644 --- 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 );