POSIX specification: https://pubs.opengroup.org/onlinepubs/009695399/functions/ftime.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
- This function is missing on some platforms:
macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Android 9.0.
- This function is not declared on some platforms:
- On native Windows platforms (mingw, MSVC), this function works incorrectly
when the environment variable
TZ has been set by Cygwin.
- This function is marked as “legacy” in POSIX. Better use
clock_gettime instead, and use
ftime only as a fallback for
portability to Windows platforms.