fdopen should set errno when it fails due to invalid mode string
[musl] / src / mman / shm_open.c
2011-03-03 Rich Felkerimplement POSIX shared memory