man rbuf_set_to (Fonctions bibliothèques) - reset an rbuf to a new value
NAME
rbuf_set_to_rbuf, rbuf_set_to_str, rbuf_set_to_data - reset an rbuf to a new value
SYNOPSIS
#include <roy.h>
void rbuf_set_to_rbuf (RBuf *buf, const RBuf *val);
void rbuf_set_to_str (RBuf *buf, const char *str);
void rbuf_set_to_data (RBuf *buf, const char *str, unsigned int len);
DESCRIPTION
These api calls reset buf to new a new value.
The rbuf_set_to_rbuf(3) and rbuf_set_to_str(3) set buf to copies of val and str, respectivly.
The rbuf_set_to_data(3) call copies len bytes out of str into buf.
RETURN VALUE
These calls return no value.
ERRORS
These calls never fail.
FUNCTION
These calls are implemented using functions.
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_len(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_split(3), rbuf_sprintf(3), rbuf_str(3), rbuf_truncate(3), rbuf_up(3), roy(3)