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

Side by Side Diff: fusl/include/sys/xattr.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/sys/wait.h ('k') | fusl/include/syscall.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 _SYS_XATTR_H
2 #define _SYS_XATTR_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #define __NEED_ssize_t
8 #define __NEED_size_t
9 #include <bits/alltypes.h>
10
11 #define XATTR_CREATE 1
12 #define XATTR_REPLACE 2
13
14 ssize_t getxattr(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);
17 ssize_t listxattr(const char *, char *, size_t);
18 ssize_t llistxattr(const char *, char *, size_t);
19 ssize_t flistxattr(int filedes, char *, size_t);
20 int setxattr(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);
23 int removexattr(const char *, const char *);
24 int lremovexattr(const char *, const char *);
25 int fremovexattr(int, const char *);
26
27 #ifdef __cplusplus
28 }
29 #endif
30 #endif
OLDNEW
« no previous file with comments | « fusl/include/sys/wait.h ('k') | fusl/include/syscall.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698