optionFree (3) - Linux Manuals

optionFree: free allocated option processing memory

NAME

optionFree - free allocated option processing memory

SYNOPSIS

#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]

void optionFree(tOptions* pOpts);

DESCRIPTION

AutoOpts sometimes allocates memory and puts pointers to it in the option state structures. This routine deallocates all such memory.
pOpts
program options descriptor

ERRORS

As long as memory has not been corrupted, this routine is always successful.