summaryrefslogtreecommitdiff
path: root/doc/posix-functions/gettimeofday.texi
blob: 3f9d423b7eb796999c9f39bb84845672526907b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@node gettimeofday
@section @code{gettimeofday}
@findex gettimeofday

POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html}

Gnulib module: gettimeofday

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw.
@item
This function is declared with a nonstandard function prototype (only one
argument, or ``...'' after the first argument) on some platforms.
@item
On some platforms, @code{gettimeofday} clobbers the buffer in which
@code{localtime} returns its result:
MacOS X 10.0.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize