Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>settime() set system time</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
settime()                Set System Time

 #include   <dos.h>

 void         settime(timep);
 struct time  *timep;                    Pointer to structure

    settime() sets the system time to the values in the 'time' structure
    pointed to by 'timep'.  The time structure is defined as follows:

          struct time  {
               unsigned char ti_min;         /* Minutes */
               unsigned char ti_hour;        /* Hours */
               unsigned char ti_hund;        /* Hundredths of seconds */
               unsigned char ti_sec;         /* Seconds */
          };

    Returns:    There is no return value.

See Also: ctime() getdate() gettime() setdate()

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