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

Side by Side Diff: fusl/include/sys/xattr.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»_SYS_XATTR_H 1 #ifndef _SYS_XATTR_H
2 #define»_SYS_XATTR_H 2 #define _SYS_XATTR_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 #define __NEED_ssize_t 7 #define __NEED_ssize_t
8 #define __NEED_size_t 8 #define __NEED_size_t
9 #include <bits/alltypes.h> 9 #include <bits/alltypes.h>
10 10
11 #define XATTR_CREATE 1 11 #define XATTR_CREATE 1
12 #define XATTR_REPLACE 2 12 #define XATTR_REPLACE 2
13 13
14 ssize_t getxattr(const char *, const char *, void *, size_t); 14 ssize_t getxattr(const char*, const char*, void*, size_t);
15 ssize_t lgetxattr(const char *, const char *, void *, size_t); 15 ssize_t lgetxattr(const char*, const char*, void*, size_t);
16 ssize_t fgetxattr(int filedes, const char *, void *, size_t); 16 ssize_t fgetxattr(int filedes, const char*, void*, size_t);
17 ssize_t listxattr(const char *, char *, size_t); 17 ssize_t listxattr(const char*, char*, size_t);
18 ssize_t llistxattr(const char *, char *, size_t); 18 ssize_t llistxattr(const char*, char*, size_t);
19 ssize_t flistxattr(int filedes, char *, size_t); 19 ssize_t flistxattr(int filedes, char*, size_t);
20 int setxattr(const char *, const char *, const void *, size_t, int); 20 int setxattr(const char*, const char*, const void*, size_t, int);
21 int lsetxattr(const char *, const char *, const void *, size_t, int); 21 int lsetxattr(const char*, const char*, const void*, size_t, int);
22 int fsetxattr(int, const char *, const void *, size_t, int); 22 int fsetxattr(int, const char*, const void*, size_t, int);
23 int removexattr(const char *, const char *); 23 int removexattr(const char*, const char*);
24 int lremovexattr(const char *, const char *); 24 int lremovexattr(const char*, const char*);
25 int fremovexattr(int, const char *); 25 int fremovexattr(int, const char*);
26 26
27 #ifdef __cplusplus 27 #ifdef __cplusplus
28 } 28 }
29 #endif 29 #endif
30 #endif 30 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698