Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>_dos_gettime</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_dos_gettime
============

Syntax
------

     #include <dos.h>
     
     void _dos_gettime(struct dostime_t *time);

Description
-----------

This function gets the current time and fills the TIME structure with
these values.

     struct dostime_t {
       unsigned char hour;     /* 0-23 */
       unsigned char minute;   /* 0-59 */
       unsigned char second;   /* 0-59 */
       unsigned char hsecond;  /* 0-99 */
     };

_dos_settime:. _dos_getdate:. _dos_setdate:.         

Return Value
------------

None.

Example
-------

     struct dostime_t time;
     
     _dos_gettime(&time);


See Also: _dos_settime _dos_getdate _dos_setdate

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