mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
fs: Add utimens and lutimens
https://pubs.opengroup.org/onlinepubs/9699919799/functions/futimens.html https://www.daemon-systems.org/man/utimens.2.html Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
50c49da078
commit
6c61d032db
@@ -178,6 +178,8 @@ int fstat(int fd, FAR struct stat *buf);
|
||||
int chmod(FAR const char *path, mode_t mode);
|
||||
int lchmod(FAR const char *path, mode_t mode);
|
||||
int fchmod(int fd, mode_t mode);
|
||||
int utimens(FAR const char *path, const struct timespec times[2]);
|
||||
int lutimens(FAR const char *path, const struct timespec times[2]);
|
||||
int futimens(int fd, const struct timespec times[2]);
|
||||
|
||||
mode_t umask(mode_t mask);
|
||||
|
||||
Reference in New Issue
Block a user