freebsd-ports/misc/librepo/files/xattr.h
Yuri Victorovich 6d9bd7171b misc/librepo: Fix missing symbol 'flistxattr'
flistxattr is a function from Linux's xattr API that isn't
available on FreeBSD and is mapped to FreeBSD syscalls.

flistxattr mapping was missing since some port update.

Reported by:	Rick Miller <vrwmiller@gmail.com>
2021-05-05 22:49:42 -07:00

5 lines
256 B
C

int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags);
ssize_t flistxattr(int fd, char *namebuf, size_t size);
ssize_t fgetxattr(int fd, const char *name, void *value, size_t size);
int fremovexattr(int fd, const char *name);