]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/os-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
6 int path_is_os_tree(const char *path
);
8 int open_os_release(const char *root
, char **ret_path
, int *ret_fd
);
9 int fopen_os_release(const char *root
, char **ret_path
, FILE **ret_file
);
11 int parse_os_release(const char *root
, ...) _sentinel_
;
12 int load_os_release_pairs(const char *root
, char ***ret
);