[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson