Article View: comp.std.c
Article #1197Re: calloc()
From: D'Arcy J.M. Cain
Date: Sun, 13 Sep 1992 14:23
Date: Sun, 13 Sep 1992 14:23
14 lines
1016 bytes
1016 bytes
steve@taumet.com (Steve Clamage) writes: >That said, suppose we have a system where int and size_t are 16 bits, >but it is possible to allocate an object bigger than 64K. A But isn't size_t guaranteed to be big enough to specify any object? It is stated in a kind of roundabout way in the standard (you have to follow up sizeof) but I don't think there is any doubt that if an object can be larger than 64K then size_t must reflect this. -- D'Arcy J.M. Cain (darcy@druid.com) | D'Arcy Cain Consulting | There's no government Toronto, Ontario, Canada | like no government! +1 416 424 2871 DoD#0082 |
Technical Details
Message-ID:
<1992Sep13.142340.24107@druid.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!telly!druid!darcyReferences:
<14455@goanna.cs.rmit.oz.au> <1992Sep10.180542.1009@taumet.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!telly!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: calloc() Message-ID: <1992Sep13.142340.24107@druid.uucp> Date: Sun, 13 Sep 1992 14:23:40 GMT References: <14455@goanna.cs.rmit.oz.au> <1992Sep10.180542.1009@taumet.com> Organization: D'Arcy Cain Consulting Lines: 14