getopt_long Function in C

This function is defined in getopt.h

Syntax:
-------
int *getopt_long* (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *indexptr)

Usage:
------
while (getopt_long (argc, argv, shortopts, longopts, index) != -1) {
}

No comments:

Post a Comment