~emersion/mrsh

ref: 1af38099508a577e3e312693048bf1148c9ad768 mrsh/include/mrsh/getopt.h -rw-r--r-- 201 bytes
1af38099 — Ben Brown Adding getopt implementation 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#ifndef MRSH_GETOPT_H
#define MRSH_GETOPT_H

extern char *mrsh_optarg;
extern int mrsh_opterr, mrsh_optind, mrsh_optopt;

int mrsh_getopt(int argc, char * const argv[], const char *optstring);

#endif