summaryrefslogtreecommitdiff
path: root/doc/pastposix-functions/ftime.texi
blob: e3d364b5554712cd3a139bd21d080f9596262edc (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 ftime
@section @code{ftime}
@findex ftime

POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/ftime.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Mac OS X 10.13, FreeBSD 6.0, NetBSD 9.0, OpenBSD 3.8, Android 9.0.
@item
On native Windows platforms (mingw, MSVC), this function works incorrectly
when the environment variable @code{TZ} has been set by Cygwin.
@item
This function is marked as ``legacy'' in POSIX@.  Better use @code{gettimeofday}
or @code{clock_gettime} instead, and use @code{ftime} only as a fallback for
portability to Windows platforms.
@end itemize