rf_freebuf(3P4)
NAME
rf_freebuf − release a previously allocated data buffer
SYNOPSIS
#include <rtfiles.h>
void ∗rf_freebuf(buf)
void ∗buf;
DESCRIPTION
The rf_freebuf function releases the buffer referenced by buf which was previously allocated by the rf_getbuf function.
RETURN VALUE
Upon successful completion, the function rf_freebuf returns zero; otherwise it returns a value of -1 and sets errno to indicate the error.
ERRORS
Under the following conditions, the function rf_freebuf fails and sets errno to:
[EINVAL] The argument buf does not point to a buffer allocated by the rf_getbuf function.
SEE ALSO
WARNING
rf_freebuf is based on IEEE Draft Standard P1003.4/D12. This is an unapproved draft, subject to change. Use of information contained in this unapproved draft is at your own risk. This interface will change to reflect any changes made by future drafts of POSIX 1003.4.
CX/UX Programmer’s Reference Manual