gettimeofday.2

来自「minix操作系统最新版本(3.1.1)的源代码」· 2 代码 · 共 23 行

2
23
字号
.TH GETTIMEOFDAY 2 "July 6, 2005".UC 4.SH NAMEgettimeofday \- get date and time.SH SYNOPSIS.ft B.nf#include <sys/time.h>int gettimeofday(struct timeval *tp, struct timezone *tzp).fi.ft R.SH DESCRIPTION.B Gettimeofdayreturns the time in seconds and microseconds since epoch in GMT(midnight, january 1st, 1970). The timezone argument tzp is expectedto be NULL..SH RETURNS0 on success, -1 on error. If -1 is returned, errno is set to indicatethe error..SH "SEE ALSO.BR ctime (3).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?