The Pedigree Project 0.1
file-metadata.h
1/* Copyright (c) 2026, Pedigree Developers. */
2#ifndef POSIX_FILE_METADATA_H
3#define POSIX_FILE_METADATA_H
4#include <sys/types.h>
5class File;
6struct stat;
7// The caller retains the selected target for the entire operation.
8bool posix_stat_file(const char* name, File* file, struct stat* output);
9bool posix_chmod_file(File* file, mode_t mode);
10bool posix_chown_file(File* file, uid_t owner, gid_t group);
11#endif
Definition File.h:75