FreeBASIC  0.91.0
time_settime.c
Go to the documentation of this file.
1 #include "../fb.h"
2 #include <dos.h>
3 
4 int fb_hSetTime( int h, int m, int s )
5 {
6  struct time t;
7  t.ti_hour = h;
8  t.ti_min = m;
9  t.ti_sec = s;
10  t.ti_hund = 0;
11  settime(&t);
12  return 0;
13 }