aboutsummaryrefslogtreecommitdiff
blob: 0c0816344a2eca521e383e659447640845a9fa73 (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

int chattr_fd(int fd, unsigned value, unsigned mask);
int chattr_path(const char *p, unsigned value, unsigned mask);

int read_attr_fd(int fd, unsigned *ret);
int read_attr_path(const char *p, unsigned *ret);