futimes(3) Library Functions Manual futimes(3) futimes, lutimes - C (libc, -lc) #include int futimes(int fd, const struct timeval tv[2]); int lutimes(const char *path, const struct timeval tv[2]); glibc (. feature_test_macros(7)): futimes(), lutimes(): glibc 2.19: _DEFAULT_SOURCE glibc 2.19 : _BSD_SOURCE futimes() utimes(2); , , , fd, . lutimes() changes the access and modification times of a file in the same way as utimes(2), with the difference that if path refers to a symbolic link, then the link is not dereferenced: instead, the timestamps of the symbolic link are changed. 0. -1, errno . utimes(2), futimes(): EBADF fd . ENOSYS /proc. lutimes() : ENOSYS ; Linux 2.6.22 . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |futimes(), lutimes() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ Linux, BSD. futimes() glibc 2.3. lutimes() glibc 2.6. lutimes() is implemented using the utimensat(2) system call. utime(2), utimensat(2), symlink(7) () Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . futimes(3)