updated to posix

as at
http://pubs.opengroup.org/onlinepubs/009604599/utilities/xcu_chap02.html