master
 1#ifndef	_SYS_XATTR_H
 2#define	_SYS_XATTR_H
 3#ifdef __cplusplus
 4extern "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
14ssize_t getxattr(const char *, const char *, void *, size_t);
15ssize_t lgetxattr(const char *, const char *, void *, size_t);
16ssize_t fgetxattr(int, const char *, void *, size_t);
17ssize_t listxattr(const char *, char *, size_t);
18ssize_t llistxattr(const char *, char *, size_t);
19ssize_t flistxattr(int, char *, size_t);
20int setxattr(const char *, const char *, const void *, size_t, int);
21int lsetxattr(const char *, const char *, const void *, size_t, int);
22int fsetxattr(int, const char *, const void *, size_t, int);
23int removexattr(const char *, const char *);
24int lremovexattr(const char *, const char *);
25int fremovexattr(int, const char *);
26
27#define __UAPI_DEF_XATTR        0
28
29#ifdef __cplusplus
30}
31#endif
32#endif