man rbuf_len (Fonctions bibliothèques) - get the len of an rbuf
NAME
rbuf_len - get the len of an rbuf
SYNOPSIS
#include <roy.h>
unsigned int rbuf_len (RBuf *buf);
DESCRIPTION
This returns the length of the buffer held by buf. This length doesn't include the protective '\0' byte one past the appearent end of the buffer. See rbuf(3) for more details. This call acts much like strlen(3) in that it doesn't count the terminating '\0', but rbuf_len(3) is faster and can't overrun the buffer. It will also return the full length of the buffer, even if '\0' characters (possible with binary data) are included in the buffer.
RETURN VALUE
Returns the length of the buffer held by buf.
ERRORS
MACRO
SEE ALSO
rbuf(3), rbuf_append(3), rbuf_append_char(3), rbuf_append_data(3), rbuf_append_rbuf(3), rbuf_append_sprintf(3), rbuf_append_str(3), rbuf_append_vsprintf(3), rbuf_auto(3), rbuf_down(3), rbuf_empty(3), rbuf_equal(3), rbuf_equal_data(3), rbuf_equal_rbuf(3), rbuf_equal_rbuf_len(3), rbuf_equal_rbufcase(3), rbuf_equal_str(3), rbuf_equal_str_len(3), rbuf_equal_strcase(3), rbuf_erase(3), rbuf_float(3), rbuf_free(3), rbuf_hash(3), rbuf_insert(3), rbuf_last(3), rbuf_long(3), rbuf_new(3), rbuf_new_with_sprintf(3), rbuf_own(3), rbuf_prepend(3), rbuf_prepend_char(3), rbuf_prepend_data(3), rbuf_prepend_rbuf(3), rbuf_prepend_str(3), rbuf_rdonly(3), rbuf_set_to(3), rbuf_split(3), rbuf_sprintf(3), rbuf_str(3), rbuf_truncate(3), rbuf_up(3), roy(3)