asfreeoptinfo(3x)asfreeoptinfo(3x)NAMEasfreeoptinfo - release command line options information structure
SYNOPSIS
#include <arraysvcs.h>
void asfreeoptinfo(asoptinfo_t *OptInfo, uint32_t Flags);
DESCRIPTION
The asfreeoptinfo function releases the resources used by the specified
asoptinfo_t structure. These structures are typically generated by the
asparseopts(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_CLOSESRV
Close the server token in the token member if it is currently
valid.
If Flags is 0, only the storage used by the asoptinfo_t structure itself
will be released.
NOTESasfreeoptinfo is found in the library "libarray.so", and will be loaded
if the option "-larray" is used with cc(1) or ld(1).
SEE ALSOasparseopts(3X).
Page 1