YedFileMan - Get_Time

NAME:
Get_Time

SYNOPSIS:
SCHAR *Get_Time(void *pvO,SCHAR *pscFile,SINT siType,SCHAR *pscRes,
                SINT siMax,SCHAR *pscFormat);

DESCRIPTION:
The method is used to get the time informations of the file pscFile in pscFormat mode, the same described in 'strftime(3)'. After invocation, pscRes, whose size is siMax bytes, will contain the requested time formatted as the content of pscFormat.
siType flag selects the time to get:

ACCESS
time of last access to pscFile

MODIFY
time of last modify to pscFile

CHANGE
time of last status change in pscFile

These times are explained with more details in 'stat(2)' man pages. pvO is the instance of the object invoking the method.

RETURN VALUE:
The method returns a pointer to pscRes, or NULL in case of an error; in this case, read errno value for more details.


http://yed.sourceforge.net