Re: main() in C90



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.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages

  • Re: strict aliasing rules in ISO C, someone understands them ?
    ... > I try to understand strict aliasing rules that are in the C Standard. ... > Let's have two struct having different tag names, ... > struct s1 {int i;}; ... Accessing a member of the foreign structure type through the pointer ...
    (comp.lang.c)
  • Re: Yet another binary search tree library
    ... Some information in this wikipedia page is wrong. ... if there is undefined behavior or not (not counting ... As far as the Standard is concerned, ... kind of struct by means of member access (ie, ...
    (comp.lang.c)
  • Re: Why is C Standard Code Example Invalid?
    ... JK> that a declaration of the complete type of the union is ... the safest bet is to take the standard at it's ... struct t1; ... "E.MOS", which would suggest that the implicit dereference occurs, but ...
    (comp.std.c)
  • Re: Yet another binary search tree library
    ... alignment requirement as its first member (since there's no padding at ... As far as the Standard is concerned, ... uses an undefined construct the result is undefined behavior. ... a designator that is a different kind of struct. ...
    (comp.lang.c)
  • New C features proposal
    ... As the committee gathered to discuss how the new C standard will look ... struct node *next; ... void message(const char *msg, ... The `inline` keyword would mean that all the members of the ...
    (comp.std.c)