fdopen should set errno when it fails due to invalid mode string
[musl] / src / stdio / swprintf.c
2011-03-18 Rich Felkerimplement [v]swprintf