aboutsummaryrefslogtreecommitdiffstats
path: root/man/rb_space.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/rb_space.3')
-rw-r--r--man/rb_space.311
1 files changed, 9 insertions, 2 deletions
diff --git a/man/rb_space.3 b/man/rb_space.3
index 7f8f113..35e2ef1 100644
--- a/man/rb_space.3
+++ b/man/rb_space.3
@@ -8,9 +8,9 @@
.PP
.BI "#include <librb.h>"
.PP
-.BI "size_t rb_count(struct rb *" rb ");"
+.BI "long rb_count(struct rb *" rb ");"
.br
-.BI "size_t rb_space(struct rb *" rb ");"
+.BI "long rb_space(struct rb *" rb ");"
.SH RETURN VALUES
.PP
.BR rb_count (3)
@@ -21,6 +21,13 @@ that are currently stored in buffer, and
returns number of how many
.B elements
you can put on the buffer.
+.SH ERRORS
+.PP
+.TP
+.B EINVAL
+Passed
+.I rb
+object is invalid.
.SH SEE ALSO
.PP
.BR rb_overview (7),