utime.c 191 B

12345678910111213
  1. #include <sys/types.h>
  2. utime(file, timep)
  3. char *file;
  4. time_t timep[2];
  5. {
  6. struct { long l1,l2,l3,l4; } x;
  7. x.l2 = x.l4 = 0;
  8. x.l1 = timep[0];
  9. x.l3 = timep[1];
  10. return utimes(file,&x);
  11. }