buffer_close man page

buffer_close — close buffer

Syntax

#include <buffer.h>

void buffer_close(buffer* b);

Description

buffer_close close the file associated with the buffer and frees/unmaps the memory associated with the buffer if buffer_init_free or buffer_mmapread were used.

See Also

buffer_init(3), buffer_init_free(3), buffer_mmapread(3)

Info