Mail Archives: djgpp/1996/08/07/09:45:32
| Xref: | news2.mv.net comp.os.msdos.djgpp:6834
|
| From: | Ian Miller <itmiller AT dra DOT hmg DOT gb>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | time_t question
|
| Date: | Mon, 05 Aug 1996 12:11:35 +0100
|
| Organization: | DRA HASN
|
| Lines: | 8
|
| Message-ID: | <3205D6E7.167EB0E7@dra.hmg.gb>
|
| NNTP-Posting-Host: | 146.80.115.106
|
| Mime-Version: | 1.0
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I notice that time(), as required by ANSI C, returns -1 if
the time is not available, but that its return type, time_t,
is unsigned int. Of course the time *is* available in djgpp
so this does not really matter. I just wonder why time_t is
not a signed type.
--
Ian Miller, DORSET, UK
- Raw text -