News for hackers. Stuff that matters.
Re:How to find size of an array in C without sizeof by icebraining on Tuesday December 27, 2016 @05:30AM (#13262383)
Why? If you're running a system with PAE, half of a 32-bit address space is a small fraction of the whole addressable memory.
Re:How to find size of an array in C without sizeof by loeg on Tuesday December 27, 2016 @01:21PM (#13264838)
It's either addressable or it isn't. My understanding of typical PAE systems is that userspace is still limited to 32 bits of address space per process. Any system where userspace is not limited to 32 bits should have a larger than 32-bit size_t. (PAE systems are not true 32-bit platforms.)