utime(2) System Calls Manual utime(2) <?><?><?><?><?><?><?><?><?><?><?><?> utime, utimes - <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?> <?> inode <?><?><?><?><?><?><?><?><?><?> Standard C library (libc, -lc) <?><?><?><?><?> #include <utime.h> int utime(const char *filename, const struct utimbuf *_Nullable times); #include <sys/time.h> int utimes(const char *filename, const struct timeval times[_Nullable 2]); <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?>: <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?>, <?><?><?><?><?><?><?><?><?> <?> utimensat(2). The utime() system call changes the access and modification times of the inode specified by filename to the actime and modtime fields of times respectively. The status change time (ctime) will be set to the current time, even if the other time stamps don't actually change. <?><?><?><?> <?><?><?><?><?><?><?><?> times <?><?><?><?><?> NULL, <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?> <?><?><?><?><?>. <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?>: <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?>, <?><?><?> <?><?><?><?><?><?><?><?> times <?><?><?><?><?> NULL <?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?> <?><?><?><?>. <?><?><?><?><?><?><?><?><?> utimbuf <?><?><?><?><?><?><?><?> <?><?><?>: struct utimbuf { time_t actime; /* <?><?><?><?><?> <?><?><?><?><?><?><?> */ time_t modtime; /* <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> */ }; <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> utime() <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?> <?><?> 1 <?><?><?><?><?><?><?>. <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> utimes() <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?>, <?><?> <?><?><?><?><?><?><?><?> times <?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?>, <?> <?><?> <?><?> <?><?><?><?><?><?><?><?><?>. <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> timeval, <?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?> <?><?> 1 <?><?><?><?><?><?><?><?><?><?><?><?> . <?><?><?><?><?><?><?><?><?> timeval: struct timeval { long tv_sec; /* <?><?><?><?><?><?><?> */ long tv_usec; /* <?><?><?><?><?><?><?><?><?><?><?><?> */ }; <?> times[0] <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>, <?> <?> times[1] <?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?>. <?><?><?><?> <?><?><?><?><?><?><?><?> times <?><?><?><?><?> NULL, <?><?> <?><?><?><?><?><?><?><?><?><?> utime(), <?><?><?><?><?> <?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?> <?><?><?><?><?>. <?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> 0. <?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> -1, <?> <?> errno <?><?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?> EACCES <?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?> path (<?><?>. <?><?><?><?><?> path_resolution(7)). EACCES <?><?><?><?><?><?><?><?> times <?><?><?><?><?> NULL, <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?>, <?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?> <?><?><?><?><?> <?><?> <?><?><?><?><?><?> <?> <?><?><?><?>, <?> <?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?> (Linux: <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> CAP_DAC_OVERRIDE <?><?><?> CAP_FOWNER). EFAULT filename points to an invalid address. ENOENT <?><?><?><?> filename <?><?> <?><?><?><?><?><?><?><?><?><?>. EPERM <?><?><?><?><?><?><?><?> times <?><?> <?><?><?><?><?> NULL, <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?> (Linux: <?><?> <?><?><?><?><?> <?><?><?><?><?><?><?> CAP_FOWNER). EROFS path <?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?>, <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?>. <?><?><?><?><?><?><?><?><?> POSIX.1-2008. <?><?><?><?><?><?><?> utime() SVr4, POSIX.1-2001. POSIX.1-2008 <?><?><?><?><?><?><?><?> <?><?><?> <?><?><?> <?><?><?><?><?><?><?><?><?><?>. utimes() 4.3BSD, POSIX.1-2001. <?><?><?><?><?><?><?><?><?><?> <?> Linux <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?> <?><?><?><?><?><?><?><?><?><?><?><?> (immutable) <?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?>, <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?> <?><?><?><?><?><?>, <?> <?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?>. <?><?><?><?><?><?><?><?> <?><?><?><?><?> chattr(1), touch(1), futimesat(2), stat(2), utimensat(2), futimens(3), futimes(3), inode(7) <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?>(<?>) Azamat Hackimov <azamat.hackimov@gmail.com>, Dmitriy Ovchinnikov <dmitriyxt5@gmail.com>, Dmitry Bolkhovskikh <d20052005@yandex.ru>, Katrin Kutepova <blackkatelv@gmail.com>, Yuri Kozlov <yuray@komyakino.ru>, <?><?><?><?> <?><?><?><?><?><?> <pavia00@gmail.com> <?> Kirill Rekhov <krekhov.dev@gmail.com> <?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?>; <?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?> GNU (GNU General Public License - GPL, <https://www.gnu.org/licenses/gpl-3.0.html> <?><?><?><?><?><?> 3 <?><?><?> <?><?><?><?><?> <?><?><?><?><?><?><?>) <?> <?><?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?>, <?><?> <?><?><?> <?><?><?><?><?>-<?><?><?><?> <?><?><?><?><?><?><?><?>. <?><?><?><?> <?><?> <?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?>-<?><?><?><?> <?><?><?><?><?><?> <?> <?><?><?><?><?><?><?><?> <?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?>, <?><?><?><?><?><?><?><?><?><?>, <?><?><?><?><?><?><?><?> <?><?> <?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?>(<?><?>) <?><?> <?><?><?>(<?><?>) <?><?><?><?><?><?>(<?><?>) <?><?><?><?><?><?><?><?><?><?><?> <?><?><?><?><?> <?><?><?> <?><?> <?><?><?><?><?><?> <?><?><?><?><?><?> <?><?><?><?><?><?><?><?> <?><?><?><?><?><?><?> <?><?><?><?><?><?><?><?><?><?><?><?> <<debian-l10n-russian@lists.debian.org>>. Linux man-pages 6.12 23 <?><?><?><?> 2024 <?>. utime(2)