#include < sys/types.h > #include < sys/stat.h > #include < fcntl.h > #include < utime.h > #include < stdio.h > int main(int argc, char **argv) { int i; int err = 0; if (argc <= 1){ fprintf(stderr, "Usage: %s file...\n", argv[0]); return 1; } for (i = 1; i < argc; i++){ open (argv[i], O_WRONLY|O_CREAT, 0666); if (utime(argv[i], NULL)){ perror(argv[i]); err = 1; } } return err; }