URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [sysdeps/] [utimes.c] - Rev 1767
Go to most recent revision | Compare with Previous | Blame | View Log
#include <utime.h> #include <sys/time.h> int utimes(char *path, struct timeval *tvp) { struct utimbuf buf, *times; if (tvp) { times = &buf; times->actime = tvp[0].tv_sec; times->modtime = tvp[1].tv_sec; } else times = NULL; return utime(path, times); }
Go to most recent revision | Compare with Previous | Blame | View Log