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

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

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 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
OLDNEW
1 #ifndef»_GLOB_H 1 #ifndef _GLOB_H
2 #define»_GLOB_H 2 #define _GLOB_H
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #include <features.h> 8 #include <features.h>
9 9
10 #define __NEED_size_t 10 #define __NEED_size_t
11 11
12 #include <bits/alltypes.h> 12 #include <bits/alltypes.h>
13 13
14 typedef struct { 14 typedef struct {
15 » size_t gl_pathc; 15 size_t gl_pathc;
16 » char **gl_pathv; 16 char** gl_pathv;
17 » size_t gl_offs; 17 size_t gl_offs;
18 » int __dummy1; 18 int __dummy1;
19 » void *__dummy2[5]; 19 void* __dummy2[5];
20 } glob_t; 20 } glob_t;
21 21
22 int glob(const char *__restrict, int, int (*)(const char *, int), glob_t *__res trict); 22 int glob(const char* __restrict,
23 void globfree(glob_t *); 23 int,
24 int (*)(const char*, int),
25 glob_t* __restrict);
26 void globfree(glob_t*);
24 27
25 #define GLOB_ERR 0x01 28 #define GLOB_ERR 0x01
26 #define GLOB_MARK 0x02 29 #define GLOB_MARK 0x02
27 #define GLOB_NOSORT 0x04 30 #define GLOB_NOSORT 0x04
28 #define GLOB_DOOFFS 0x08 31 #define GLOB_DOOFFS 0x08
29 #define GLOB_NOCHECK 0x10 32 #define GLOB_NOCHECK 0x10
30 #define GLOB_APPEND 0x20 33 #define GLOB_APPEND 0x20
31 #define GLOB_NOESCAPE 0x40 34 #define GLOB_NOESCAPE 0x40
32 #define»GLOB_PERIOD 0x80 35 #define GLOB_PERIOD 0x80
33 36
34 #define GLOB_NOSPACE 1 37 #define GLOB_NOSPACE 1
35 #define GLOB_ABORTED 2 38 #define GLOB_ABORTED 2
36 #define GLOB_NOMATCH 3 39 #define GLOB_NOMATCH 3
37 #define GLOB_NOSYS 4 40 #define GLOB_NOSYS 4
38 41
39 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) 42 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
40 #define glob64 glob 43 #define glob64 glob
41 #define globfree64 globfree 44 #define globfree64 globfree
42 #define glob64_t glob_t 45 #define glob64_t glob_t
43 #endif 46 #endif
44 47
45 #ifdef __cplusplus 48 #ifdef __cplusplus
46 } 49 }
47 #endif 50 #endif
48 51
49 #endif 52 #endif
OLDNEW
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/include/getopt.h ('k') | fusl/include/grp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698