Update contrib.
1 /** @file ../include/utime.h
7 The utimbuf structure is used with the utime function to specify new access and modification times for a file. It contains the following members:
13 /** @var utimbuf::actime
17 /** @var utimbuf::modtime
21 /** @fn utime(const char *name, const struct utimbuf *filetimes)
24 @return errno is set appropriately.
26 This interface is obsoleted by utimes.
28 The utime function sets the access and modification times of the named file from the actime and modtime fields of the struct utimbuf pointed at by filetimes.
30 If the times are specified (the timep argument is non- NULL) the caller must be the owner of the file or be the super-user.
32 If the times are not specified (the timep argument is NULL) the caller must be the owner of the file, have permission to write the file, or be the super-user.
36 /* Detailed description: Sample usage of utime system call
37 * Preconditions: Example.txt file should exist in the working directory
44 if(utime("Example.txt" , &Time;) < 0 )
46 printf("Utime call failed") ;
49 printf("Utime call succeded") ;
62 KErrNotReady of Symbian error code is mapped to ENOENT, which typically means drive
63 not found or filesystem not mounted on the drive.
70 @capability Deferred @ref RFs::SetModified(const TDesC16&, const TTime&)