@Andrew Henle True! It's like Andreas Wenzel said: It's guaranteed in POSIX compliant environments - and Andreas' workaround should do the trick.