_dos_getftime
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The _dos_getftime routine uses system call 0x57 to get the date
and time at which the file identified by <handle> was last
written. The file must have been opened with a call to _dos_open
or _dos_creat prior to calling _dos_getftime. The date and time
are returned in the words pointed to by <date> and <time>. The
values appear in the DOS date and time format.
See: ◄DOS Time/Date Format►
Return Value
If successful, the function returns 0. Otherwise, it returns the
DOS error code and sets errno to EBADF, indicating that an invalid
file handle was passed.
-♦-