source: trunk/minix/man/man2/gettimeofday.2@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 498 bytes
RevLine 
[9]1.TH GETTIMEOFDAY 2 "July 6, 2005"
2.UC 4
3.SH NAME
4gettimeofday \- get date and time
5.SH SYNOPSIS
6.ft B
7.nf
8#include <sys/time.h>
9
10int gettimeofday(struct timeval *tp, struct timezone *tzp)
11.fi
12.ft R
13.SH DESCRIPTION
14.B Gettimeofday
15returns the time in seconds and microseconds since epoch in GMT
16(midnight, january 1st, 1970). The timezone argument tzp is expected
17to be NULL.
18.SH RETURNS
190 on success, -1 on error. If -1 is returned, errno is set to indicate
20the error.
21.SH "SEE ALSO
22.BR ctime (3).
Note: See TracBrowser for help on using the repository browser.