ref: 97a2f14b1c7960713ba2f7b284a6055cda8e101e dir: /sys/src/cmd/rc/getflags.h/
#define NFLAG 128 extern char **flag[NFLAG]; extern char *cmdname; extern char *flagset[]; int getflags(int, char*[], char*, int);