From 08bb7015a9e28c5c9d38fe05a6f6644bc21fa527 Mon Sep 17 00:00:00 2001 Message-Id: <08bb7015a9e28c5c9d38fe05a6f6644bc21fa527.1746797654.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 9 Jul 2024 18:07:59 +0100 Subject: [PATCH] struct/buf.3.in: Correct the type of `buf_put' in the synopsis. Organization: Straylight/Edgeware From: Mark Wooding --- struct/buf.3.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- [mdw]