hermit-os / hermit-os/kernel

Set file access and modification times

Open
#1,724 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
132
Avg merge
1d 14h
Merged PRs (30d)
39

Description

The kernel should provide some functionality to set file access and modification times. This would probably entail system calls corresponding to [futimens, utimensat, utimes](https://pubs.opengroup.org/onlinepubs/9799919799/functions/futimens.html):

- `int futimens(int fd, const struct timespec times[2]);`
- `int utimensat(int fd, const char *path, const struct timespec times[2], int flag);`
- `int utimes(const char *path, const struct timeval times[2]);`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.