Function getftime

Top 

Declaration:

unsigned long getftime(long handle);

Description

Gets the file date and time.

getftime retrieves the file time and date for the disk file associated with the open handle. The return value has the following format:

Bits      Value

---------------------

0...4     two seconds

5...10    minutes

11...15   hours

16...20   days

21...24   months

25...31   year - 1980

Returned Value

getftime returns the file date and time on success. In the event of an error, 0xFFFFFFFF is returned and the errno global variable is set to one of the following values:

EACCES       Permission denied

EBADF        Bad file number

EINVFNC      Invalid function number