getopt function


getopt is used to read command line flags. Please see the examples.

Examples:

Example using argc and argv

See Also:

command line arguments (argc/argv).

getopt man page.


Top Master Index Keywords Functions


Martin Leslie