News for hackers. Stuff that matters.
Re:The Unreasonable Effectiveness of C by Dylan16807 on Friday January 11, 2013 @03:06PM (#5044664)
Allocate an array that crosses segments. Watch the details be hidden from you.
Re:The Unreasonable Effectiveness of C by tedunangst on Friday January 11, 2013 @04:12PM (#5045053)
I'm not aware of an implementation that does that, and it's not required by the standard. A more common solution is to just limit the size of an array to the size of a segment (sizet max would also then be the segment size). If you think the C standard requires crossing segments, what section, what words?