Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

buffer_close - close buffer

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.

Name

       buffer_close - close buffer

See Also

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

                                                                                                 buffer_close(3)

Syntax

#include<libowfat/buffer.h>

       void buffer_close(buffer* b);

See Also