ftime(3) Library Functions Manual ftime(3) ftime - C (libc, -lc) #include [[deprecated]] int ftime(struct timeb *tp); NOTE: This function is no longer provided by the GNU C library. Use clock_gettime(2) instead. , (Epoch), 1970-01-01 00:00:00 +0000 (UTC). tp, : struct timeb { time_t time; unsigned short millitm; short timezone; short dstflag; }; time -- ; millitm -- , time . timezone -- , ( ). dstflag -- , , . POSIX.1-2001 , timezone dstflag ; . 0 ( POSIX.1-2001, -1 ). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |ftime() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ . 4.2BSD. Marked as LEGACY in POSIX.1-2001; removed in POSIX.1-2008. Removed in glibc 2.33. . . , , time(2); gettimeofday(2) ; clock_gettime(3) , . glibc2 0 millitm; glibc 2.1.1 . gettimeofday(2), time(2) () Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . Linux man-pages 6.18 29 2025 . ftime(3)