mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
28 lines
442 B
C
28 lines
442 B
C
/*
|
|
* SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _UTIME_H_
|
|
#define _UTIME_H_
|
|
|
|
#include <sys/time.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct utimbuf {
|
|
time_t actime; // access time
|
|
time_t modtime; // modification time
|
|
};
|
|
|
|
int utime(const char *path, const struct utimbuf *times);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* _UTIME_H_ */
|