optionFree(3)

optionFree3

Free allocated option processing memory

Usage

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

void optionFree(tOptions * pOpts);

Overview

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 11 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. Arch

From autogen 5.18.16-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.