stime(2) System Calls Manual stime(2) stime - #include [[deprecated]] int stime(const time_t *t); glibc (. feature_test_macros(7)): stime(): glibc 2.19: _DEFAULT_SOURCE glibc 2.19 : _SVID_SOURCE NOTE: This function is deprecated; use clock_settime(2) instead. stime() ( ) . , t, , 00:00:00 1 1970 (UTC). stime() . On success, zero is returned. On error, -1 is returned, and errno is set to indicate the error. EFAULT . EPERM . Linux CAP_SYS_TIME. None. SVr4. Starting with glibc 2.31, this function is no longer available to newly linked applications and is no longer declared in . . date(1), settimeofday(2), capabilities(7) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . stime(2)