?? time.2
字號:
.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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -