UTIMENSAT(3P)

✨ UTIMENSAT(3P) ✨

okay bestie, welcome to the POSIX Programmer's Manual πŸ’– this page lives in the POSIX Programmer's Manual and it's all about utimensat and utimes. buckle up πŸŽ€


🌸 PROLOG 🌸

okay so first things first, real talk:

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.

like, it's giving "check your local listings" energy 😭 the Linux version might be built different, so go read the Linux man page if you want the Linux tea. or maybe it's not even implemented on Linux at all. we don't know. vibe check accordingly 🫢


πŸ’… NAME πŸ’…

utimensat, utimes β€” set file access and modification times ⏰✨


🌈 SYNOPSIS 🌈

#include <sys/stat.h>

int utimensat(int fd, const char *path, const struct timespec times[2],
    int flag);

#include <sys/time.h>

int utimes(const char *path, const struct timeval times[2]);

like, two whole headers, two whole function signatures, no notes πŸ’œ


πŸ¦‹ DESCRIPTION πŸ¦‹

bestie. okay. I need you to sit down for this one because the description is genuinely just:

Refer to futimens().

that's it. that's the whole description. iconic honestly. the POSIX girlies said "go read the other page" and honestly? respect πŸ‘‘


okay so the legal bit, and I'm gonna give it to you straight because this part matters fr fr:

Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page bestie, no cap πŸ’– this one came to you from IEEE/The Open Group, dated 2017, and it's the UTIMENSAT(3P) page in the POSIX Programmer's Manual β€” go set those timestamps, slay, and remember: refer to futimens() 😭🌸🫢

πŸ“¦ where this page comes from