Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Side by Side Diff: fusl/include/getopt.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/ftw.h ('k') | fusl/include/glob.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _GETOPT_H
2 #define _GETOPT_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 int getopt(int, char * const [], const char *);
9 extern char *optarg;
10 extern int optind, opterr, optopt, optreset;
11
12 struct option
13 {
14 const char *name;
15 int has_arg;
16 int *flag;
17 int val;
18 };
19
20 int getopt_long(int, char *const *, const char *, const struct option *, int *);
21 int getopt_long_only(int, char *const *, const char *, const struct option *, in t *);
22
23 #define no_argument 0
24 #define required_argument 1
25 #define optional_argument 2
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif
OLDNEW
« no previous file with comments | « fusl/include/ftw.h ('k') | fusl/include/glob.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698