diff libbuf.3 @ 21:939fe74cd80a

buf: switch to int from bool
author David Demelier <markand@malikania.fr>
date Wed, 24 Feb 2021 11:39:26 +0100
parents 3665a56a00aa
children d87e84936795
line wrap: on
line diff
--- a/libbuf.3	Wed Dec 16 16:20:53 2020 +0100
+++ b/libbuf.3	Wed Feb 24 11:39:26 2021 +0100
@@ -30,29 +30,29 @@
 .In buf.h
 .Ft void
 .Fn buf_clear "struct buf *b"
-.Ft bool
+.Ft int
 .Fn buf_dup "struct buf *b" "const struct buf *src"
 .Ft void
 .Fn buf_erase "struct buf *b" "size_t pos" "size_t count"
 .Ft void
 .Fn buf_finish "struct buf *b"
-.Ft bool
+.Ft int
 .Fn buf_init "struct buf *b"
-.Ft bool
+.Ft int
 .Fn buf_printf "struct buf *b" "const char *fmt" "..."
-.Ft bool
+.Ft int
 .Fn buf_putc "struct buf *b" "char c"
-.Ft bool
+.Ft int
 .Fn buf_puts "struct buf *b" "const char *s"
-.Ft bool
+.Ft int
 .Fn buf_reserve "struct buf *b" "size_t desired"
-.Ft bool
+.Ft int
 .Fn buf_resize "struct buf *b" "size_t desired" "char c"
-.Ft bool
+.Ft int
 .Fn buf_shrink "struct buf *b"
-.Ft bool
+.Ft int
 .Fn buf_sub "struct buf *b" "const struct buf *src" "size_t pos" "size_t count"
-.Ft bool
+.Ft int
 .Fn buf_vprintf "struct buf *b" "const char *fmt" "va_list ap"
 .\" DESCRIPTION
 .Sh DESCRIPTION