00001 /* CLOCK.H */ 00002 00003 /* 00004 * clock.h 00005 * clock functions: 00006 * the clock is just a static int that these functions service 00007 */ 00008 00009 int get_clock(void); 00010 /* 00011 * Returns the value of the clock 00012 */ 00013 00014 void increment_clock(void); 00015 /* 00016 * Increments clock by one 00017 */ 00018 00019 char *print_time(void); 00020 /* 00021 * prints out the value of the clock in a readable format e.g.: 00022 * 01.05:09.122 is one hour, five minutes and 9.122 seconds 00023 */