#include <sys/time.h>
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
struct timeval {
time_t tv_sec; /* seconds since Jan. 1, 1970 */
suseconds_t tv_usec; /* and microseconds */
};
NULL
일 경우, gettimeofday()
는 아무 동작도 하지 않는다.errno
를 설정한다.