Go to the source code of this file.
◆ getopt()
Definition at line 55 of file getopt.c.
56{
58 register char *oli;
60
65 }
70 }
71 }
74
75
76
77
85 else
89 }
91 }
92 if (*++oli != ':') {
96 }
97 else {
100 else if (nargc <= ++
optind) {
104 else
108 "%s: option requires an argument -- %c\n",
111 }
112 else
116 }
118}
char * strchr(const char *String, int ch)
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)
◆ optarg
◆ opterr
◆ optind
◆ optopt