NAME

catbuf_delete - block read/write functions for buffers

SYNOPSIS

#include <cat.h>

int catbuf_delete(cat_buffer *b, int offset, int length);

DESCRIPTION

catbuf_delete() (macro) is a convenience macro that removes a byte range from the buffer. The macro is defined as catbuf_extract(b, offset, len, NULL).

catbuf_delete(), catbuf_insert(), and catbuf_extract() are block read/write functions for data buffers.

RETURN VALUES

See catbuf_extract

SEE ALSO

cat, catbuf, catbuf_extract, catbuf_insert