25 lines
368 B
C
25 lines
368 B
C
#ifndef _LIBC_UTIME_H
|
|
#define _LIBC_UTIME_H
|
|
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct utimbuf {
|
|
time_t actime;
|
|
time_t modtime;
|
|
};
|
|
|
|
/* Set access and modification times. Currently supported on ext2. */
|
|
int utime(const char *path, const struct utimbuf *times);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _LIBC_UTIME_H */
|