The Pedigree Project
0.1
src
modules
subsys
posix
xattr-syscalls.h
1
/* Copyright (c) 2026, Pedigree Developers. */
2
#ifndef POSIX_XATTR_SYSCALLS_H
3
#define POSIX_XATTR_SYSCALLS_H
4
5
#include "pedigree/kernel/processor/types.h"
6
7
int
posix_setxattr(
const
char
* path,
const
char
* name,
const
void
* value,
size_t
size,
int
flags);
8
int
posix_lsetxattr(
const
char
* path,
const
char
* name,
const
void
* value,
size_t
size,
int
flags);
9
int
posix_fsetxattr(
int
fd,
const
char
* name,
const
void
* value,
size_t
size,
int
flags);
10
ssize_t posix_getxattr(
const
char
* path,
const
char
* name,
void
* value,
size_t
size);
11
ssize_t posix_lgetxattr(
const
char
* path,
const
char
* name,
void
* value,
size_t
size);
12
ssize_t posix_fgetxattr(
int
fd,
const
char
* name,
void
* value,
size_t
size);
13
ssize_t posix_listxattr(
const
char
* path,
char
* list,
size_t
size);
14
ssize_t posix_llistxattr(
const
char
* path,
char
* list,
size_t
size);
15
ssize_t posix_flistxattr(
int
fd,
char
* list,
size_t
size);
16
int
posix_removexattr(
const
char
* path,
const
char
* name);
17
int
posix_lremovexattr(
const
char
* path,
const
char
* name);
18
int
posix_fremovexattr(
int
fd,
const
char
* name);
19
20
#endif
Generated on Sat Oct 3 2026 06:38:06 for The Pedigree Project by
1.9.8