May 26, 2018

Getopt(3) like library with a number of enhancements, from Redhat

This is the popt command line option parsing library. While it is similar to getopt3, it contains a number of enhancements, including

    1 popt is fully reentrant
    2 popt can parse arbitrary argv[] style arrays while
       getopt2 makes this quite difficult
    3 popt allows users to alias command line arguments
    4 popt provides convenience functions for parsing strings
       into argv[] style arrays

WWW http//