| Hauptindex | Abschnitt 2 | English | 日本語 | Optionen |
int utime(const char *filename, struct utimbuf *buf);
#include <sys/time.h>
int utimes(char *filename, struct timeval *tvp);
struct utimbuf {
time_t actime; /* Zugriffszeit */
time_t modtime; /* Modifikationszeit */
};
In den Linux DLL 4.4.1 - Bibliotheken ist utimes nur ein Umschlag für utime: tvp[0].tv_sec ist actime, und tvp[1].tv_sec ist modtime. Die Struktur timeval ist:
struct timeval {
long tv_sec; /* Sekunden */
long tv_usec; /* Microsekunden */
};
| EACCESS | Zugriff in die Datei zu schreiben wurde verweigert. |
| ENOENT | filename existiert nicht. |
| 1. Juni 1996 | UTIME (2) | Linux |
| Hauptindex | Abschnitt 2 | English | 日本語 | Optionen |
Bitte richten Sie Ihre Kommentare zu diesem Handbuch Seite Service, Ben Bullock. Privacy policy.
| “ | Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology. | ” |
| — The Unix Haters' handbook | ||