• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "time32.h"
2 #include <time.h>
3 #include <utime.h>
4 
5 struct utimbuf32 {
6 	time32_t actime;
7 	time32_t modtime;
8 };
9 
__utime_time32(const char * path,const struct utimbuf32 * times32)10 int __utime_time32(const char *path, const struct utimbuf32 *times32)
11 {
12 	return utime(path, !times32 ? 0 : (&(struct utimbuf){
13 		.actime = times32->actime, .modtime = times32->modtime}));
14 }
15