home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!sobeco!macx.sts.sobeco.com!user
- From: blimoges@sobeco.com (Bertrand Limoges)
- Newsgroups: comp.lang.c
- Subject: C source to mktime() ?
- Message-ID: <blimoges-201192161959@macx.sts.sobeco.com>
- Date: 20 Nov 92 21:29:36 GMT
- Sender: usenet@sobeco.com
- Followup-To: comp.lang.c
- Organization: Sobeco Ernst & Young
- Lines: 14
- Nntp-Posting-Host: macx.sts.sobeco.com
-
- Here I am coding away, and I need to use mktime() in order to convert
- a struct tm * to a time_t value but the function is not present on the
- system I'm working on (MIPS). time, localtime, ... are there, but not
- mktime! I've written a quick hack just to get on with my work, but I'd
- like something a little more standard and tested. It must be in C, for
- I will use it on other platforms as well.
-
- Snippets of code or pointers to sources much appreciated,
-
- Bertrand Limoges, Sobeco Ernst & Young Inc., Montreal, Canada
- ---
- We extend and amplify impoverished data on the basis of what we know about
- how the world typically behaves, and the result is that prejudice becomes
- a natural part of "rational" thought. --Jeremy Campbell
-