mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00

This add stubs for 'removexattr()', 'lremovexattr()', and 'fremovexattr()'. These are needed by GLib version 2.73.3.
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2021, the SerenityOS developers.
|
|
* Copyright (c) 2022, Kenneth Myhra <kennethmyhra@serenityos.org>.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <sys/types.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
ssize_t getxattr(char const* path, char const* name, void* value, size_t size);
|
|
ssize_t lgetxattr(char const* path, char const* name, void* value, size_t size);
|
|
ssize_t fgetxattr(int fd, char const* name, void* value, size_t size);
|
|
|
|
int setxattr(char const* path, char const* name, void const* value, size_t size, int flags);
|
|
int lsetxattr(char const* path, char const* name, void const* value, size_t size, int flags);
|
|
int fsetxattr(int fd, char const* name, void const* value, size_t size, int flags);
|
|
|
|
ssize_t listxattr(char const* path, char* list, size_t size);
|
|
ssize_t llistxattr(char const* path, char* list, size_t size);
|
|
ssize_t flistxattr(int fd, char* list, size_t size);
|
|
|
|
int removexattr(char const* path, char const* name);
|
|
int lremovexattr(char const* path, char const* name);
|
|
int fremovexattr(int fd, char const* name);
|
|
|
|
__END_DECLS
|