]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/chattr-util.h
Merge pull request #8575 from keszybz/non-absolute-paths
[thirdparty/systemd.git] / src / basic / chattr-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 /***
5 This file is part of systemd.
6
7 Copyright 2010 Lennart Poettering
8 ***/
9
10 int chattr_fd(int fd, unsigned value, unsigned mask);
11 int chattr_path(const char *p, unsigned value, unsigned mask);
12
13 int read_attr_fd(int fd, unsigned *ret);
14 int read_attr_path(const char *p, unsigned *ret);