1 /*
2  * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _UTIME_H_
8 #define _UTIME_H_
9 
10 #include <sys/time.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 struct utimbuf {
17     time_t actime;       // access time
18     time_t modtime;      // modification time
19 };
20 
21 int utime(const char *path, const struct utimbuf *times);
22 
23 #ifdef __cplusplus
24 };
25 #endif
26 
27 #endif /* _UTIME_H_ */
28