> Is using ftruncate(2) to lengthen the segment the right way to do it, or > is this yet another stupid limitation of POSIX shared memory?
If you are getting the picture that the standards commitee cobbled together a bunch of junk and expected a good outcome, you are well on your way to being on the same page as us...