Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - dos_getftime http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                               dos_getftime

   Usage
   #include <dos.h>
   int dos_getftime(int  fd,  unsigned  *date,  unsigned *time);

   Description
   Obtains the time and date of the file belonging to the file descriptor
   fd and places it in the unsigned integers pointed to by the  arguments
   date  and  time. The format of these arguments is the  same  as  those
   which are used by the dos_setftime function and is as follows:

   date:
   bits 0 to 4day of month (0-31)
   bits 5 to 8month (0-12)
   bits 9 to 15year (relative to 1980)

   time:
   bits 0 to 4number of 2 second increments (0-29)
   bits 5 to 10minutes (0-59)
   bits 11 to 15hours (0-23)

   Example
   see dos_setftime

   Return Value
   0 if successful, otherwise sets errno and returns the DOS error code.


See Also: DOS_Package dos_setftime

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson