Luna/libc/include/utime.h
apio a92077d311
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Add all variants of utime
2023-08-08 14:14:35 +02:00

27 lines
354 B
C

/* utime.h: The utime function. */
#ifndef _UTIME_H
#define _UTIME_H
#include <sys/types.h>
struct utimbuf
{
time_t actime;
time_t modtime;
};
#ifdef __cplusplus
extern "C"
{
#endif
/* Change a file's access and modification timestamps. */
int utime(const char* path, const struct utimbuf* buf);
#ifdef __cplusplus
}
#endif
#endif