| cvs.gedasymbols.org/djgpp/doc/libc/libc_420.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <dos.h> void gettime(struct time *);  | 
This function gets the current time. The return structure is as follows:
struct time {
  unsigned char ti_min;
  unsigned char ti_hour;
  unsigned char ti_hund;
  unsigned char ti_sec;
};
 | 
See section settime. See section getdate.
None.
| ANSI/ISO C | No | 
| POSIX | No | 
struct time t; gettime(&t);  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |