ftp.nice.ch/pub/next/developer/objc/appkit/HashFile.tar.gz#/HashFile/getopt.h

This is getopt.h in view mode; [Download] [Up]

extern int getopt(int argc, char **argv, char *optstring);

extern char *optarg;
extern int optind;

#define optopt argv[optind - 1][1]
#define getarg(c, v) ((optind < c) ? ((optarg = argv[optind++]) ? 0 : EOF) : EOF)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.