utime.h 343 字节
Newer Older
R
Rich Felker 已提交
1 2 3 4 5 6 7
#ifndef	_UTIME_H
#define	_UTIME_H

#ifdef __cplusplus
extern "C" {
#endif

8 9
#include <features.h>

R
Rich Felker 已提交
10 11 12 13
#define __NEED_time_t

#include <bits/alltypes.h>

14
struct utimbuf {
R
Rich Felker 已提交
15 16 17 18 19 20
	time_t actime;
	time_t modtime;
};

int utime (const char *, const struct utimbuf *);

21 22 23 24
#if _REDIR_TIME64
__REDIR(utime, __utime64);
#endif

R
Rich Felker 已提交
25 26 27 28 29
#ifdef __cplusplus
}
#endif

#endif