asfreecmdrsltlist(3x)asfreecmdrsltlist(3x)NAMEasfreecmdrsltlist - release array command result structures
SYNOPSIS
#include <arraysvcs.h>
void asfreecmdrsltlist(ascmdrsltlist_t *CmdRsltList, uint32_t Flags);
DESCRIPTION
The asfreecmdrsltlist function releases the resources used by the
specified ascmdrsltlist_t structure. These structures are typically
generated by the ascommand(3X) function.
The exact resources to be released are controlled by the Flags argument.
The Flags value is constructed by OR-ing together flags from the
following list:
ASFLF_FREEDATA
Release the storage used by the individual ascmdrslt_t elements
ASFLF_UNLINK
Unlink any temporary files referenced by the ascmdrslt_t elements
ASFLF_CLOSEIO
Close any I/O sockets associated with the ascmdrslt_t elements.
If Flags is 0, only the storage used by the ascmdrsltlist_t structure
itself will be released.
NOTESasfreecmdrsltlist is found in the library "libarray.so", and will be
loaded if the option "-larray" is used with cc(1) or ld(1).
SEE ALSOascommand(3X).
Page 1