📄 ut
字号:
@c ----------------------------------------------------------------------
@node utime, file system
@heading @code{utime}
@subheading Syntax
@example
#include <utime.h>
itn utime(const char *file, const struct utimbuf *time);
@end example
@subheading Description
This function sets the modification timestamp on the @var{file}. The
new time is stored in this structure:
@example
struct utimbuf
@{
time_t actime; /* access time (unused) */
time_t modtime; /* modification time */
@};
@end example
@subheading Return Value
Zero for success, nonzero for failure.
@subheading Example
@example
struct utimbuf t;
t.modtime = time(0);
utime("data.txt", &t);
@end example
@c ----------------------------------------------------------------------
@node utimes, unix
@heading @code{utimes}
@subheading Syntax
@example
int utimes(const char *file, struct timevar tvp[2]);
@end example
@subheading Description
This function does nothing. It is provided to assist in
porting Unix programs.
@subheading Return Value
Zero for success, nonzero for failure.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -