m_argv.c (191B)
1 #include <string.h> 2 3 int myargc; 4 char** myargv; 5 6 int 7 M_CheckParm(char* check) 8 { 9 int i; 10 11 for (i = 1; i < myargc; ++i) 12 if (!strcasecmp(check, myargv[i])) return i; 13 return 0; 14 }
dooma minimalistic implementation of doom | |
git clone git://ssnf.xyz/doom | |
Log | Files | Refs |