Re: main() in C90
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Mon, 21 Jan 2008 00:36:03 -0500
Richard Heathfield wrote:
CBFalconer said:
A struct tm is built by mktime,
The Standard does not require this. It's perfectly feasible (and
commonplace) for people to roll their own struct tm objects. Nor
is mktime the only standard function that builds a struct tm.
I had the impression (possibly wrong) that the functions that
created a struct tm operated on unspecified format system data, and
thus had to be part of the library. In light of that I considered
any other method to be an extension, whose correctness is entirely
up to the extender.
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: main() in C90
- From: Richard Heathfield
- Re: main() in C90
- From: Keith Thompson
- Re: main() in C90
- References:
- main() in C90
- From: Ioannis Vranos
- Re: main() in C90
- From: jacob navia
- Re: main() in C90
- From: Walter Roberson
- Re: main() in C90
- From: jacob navia
- Re: main() in C90
- From: Walter Roberson
- Re: main() in C90
- From: jacob navia
- Re: main() in C90
- From: Army1987
- Re: main() in C90
- From: CBFalconer
- Re: main() in C90
- From: Richard Heathfield
- main() in C90
- Prev by Date: Re: string question
- Next by Date: Re: GCC Broken on Leopard (OSX)
- Previous by thread: Re: main() in C90
- Next by thread: Re: main() in C90
- Index(es):
Relevant Pages
|