Frees the memory allocated for the attachment information returned by ra_get_attachinfo.
Standard C library (libc.a)
#include <sys/rset.h>
int ra_free_attachinfo_t(info)
attachinfo_t *info;
The ra_free_attachinfo subroutine frees the memory allocated by ra_get_attachinfo to contain the attachinfo_t structures returning the attachment information.
Item | Description |
---|---|
info | Pointer to the attachinfo_t structure that was returned by a previous call to ra_get_attachinfo. |
On successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and the errno global variable is set to indicate the error.
Item | Description |
---|---|
EINVAL | The info parameter is a null pointer. |