Home | History | Annotate | Download | only in strace
      1 #include "defs.h"
      2 
      3 #include DEF_MPERS_TYPE(utimbuf_t)
      4 
      5 #include <utime.h>
      6 
      7 typedef struct utimbuf utimbuf_t;
      8 
      9 #include MPERS_DEFS
     10 
     11 SYS_FUNC(utime)
     12 {
     13 	utimbuf_t u;
     14 
     15 	printpath(tcp, tcp->u_arg[0]);
     16 	tprints(", ");
     17 	if (!umove_or_printaddr(tcp, tcp->u_arg[1], &u)) {
     18 		tprintf("[%s,", sprinttime(u.actime));
     19 		tprintf(" %s]", sprinttime(u.modtime));
     20 	}
     21 
     22 	return RVAL_DECODED;
     23 }
     24