Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
fread/fwrite
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Richard Heathfield, post: 2965078"] Richard said: They're documented in the Standard, which is available from the ANSI Webstore for a few bucks. There's a link on Jack Klein's site IIRC. Alternatively, do a Web search for n1124.pdf, which is C99 plus some TCs. An object of type size_t must be sufficiently large to be able to store the size of any object that the implementation can construct. In C90, the implementation must be able to construct an object at least 32767 bytes in size, so in C90 size_t must be at least 15 bits (and someone once reasoned that it must be at least as wide as int, but I can't remember the details - if that were true, it would have to be at least 16 bits wide in C90). In C99, the implementation must be able to construct an object at least 65535 bytes in size, so in C99 size_t must certainly be at least 16 bits wide. 0x2FFFF requires 18 bits to represent. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
fread/fwrite
Top