SYNOPSIS
#include <unistd.h>
extern char *optarg;
extern int opterr;
extern int optind;
extern int optopt;
DESCRIPTION
The optarg, opterr, optind, and
optopt variables are used by the
Programs should obtain these definitions by the inclusion of <unistd.h>. The practice of defining the variables in a program as
extern char *optarg;
(without including <unistd.h>) is unsupported.
CONFORMANCE
UNIX 98.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getopt()
PTC MKS Toolkit 10.5 Documentation Build 40.