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

Side by Side Diff: fusl/include/wordexp.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/wctype.h ('k') | fusl/lib/empty » ('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 _WORDEXP_H
2 #define _WORDEXP_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <features.h>
9
10 #define __NEED_size_t
11
12 #include <bits/alltypes.h>
13
14 #define WRDE_DOOFFS 1
15 #define WRDE_APPEND 2
16 #define WRDE_NOCMD 4
17 #define WRDE_REUSE 8
18 #define WRDE_SHOWERR 16
19 #define WRDE_UNDEF 32
20
21 typedef struct
22 {
23 size_t we_wordc;
24 char **we_wordv;
25 size_t we_offs;
26 } wordexp_t;
27
28 #define WRDE_NOSYS -1
29 #define WRDE_NOSPACE 1
30 #define WRDE_BADCHAR 2
31 #define WRDE_BADVAL 3
32 #define WRDE_CMDSUB 4
33 #define WRDE_SYNTAX 5
34
35 int wordexp (const char *__restrict, wordexp_t *__restrict, int);
36 void wordfree (wordexp_t *);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif
OLDNEW
« no previous file with comments | « fusl/include/wctype.h ('k') | fusl/lib/empty » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698