time.2
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 2 代码 · 共 59 行
2
59 行
.TH TIME 2 .SH NAMEtime, ftime \- get date and time.SH SYNOPSIS.B long time(0).PP.B long time(tloc).br.B long *tloc;.sp.B #include <sys/types.h>.br.B #include <sys/timeb.h>.br.B ftime(tp).br.B struct timeb *tp;.SH DESCRIPTION.I Timereturns the time since 00:00:00 GMT, Jan. 1, 1970, measuredin seconds..PPIf.I tlocis nonnull,the return value is also stored in theplace to which.I tlocpoints..PPThe.I ftimeentry fills in a structure pointed to by its argument,as defined by.IR <sys/timeb.h> :.PP.nf.ta .5i +\w'unsigned 'u.so /usr/include/sys/timeb.h.fi.PPThe structure contains the time since the epoch in seconds,up to 1000 milliseconds of more-precise interval,the local timezone (measured in minutes of time westward from Greenwich),and a flag that, if nonzero, indicates thatDaylight Saving time applies locally during the appropriate part of the year..SH "SEE ALSO"date(1), stime(2), ctime(3).SH ASSEMBLER(ftime = 35.).br.B sys ftime; bufptr.PP(time = 13.; obsolete call).br.B sys time.br(time since 1970 in r0-r1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?