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