mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
26
libc/calls/xattr.h
Normal file
26
libc/calls/xattr.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_CALLS_XATTR_H_
|
||||
#define COSMOPOLITAN_LIBC_CALLS_XATTR_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
ssize_t flistxattr(int filedes, char *list, size_t size);
|
||||
ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size);
|
||||
int fsetxattr(int filedes, const char *name, const void *value, size_t size,
|
||||
int flags);
|
||||
int fremovexattr(int filedes, const char *name);
|
||||
|
||||
ssize_t listxattr(const char *path, char *list, size_t size);
|
||||
ssize_t getxattr(const char *path, const char *name, void *value, size_t size);
|
||||
int setxattr(const char *path, const char *name, const void *value, size_t size,
|
||||
int flags);
|
||||
int removexattr(const char *path, const char *name);
|
||||
|
||||
ssize_t llistxattr(const char *path, char *list, size_t size);
|
||||
ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size);
|
||||
int lsetxattr(const char *path, const char *name, const void *value,
|
||||
size_t size, int flags);
|
||||
int lremovexattr(const char *path, const char *name);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_CALLS_XATTR_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue