summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdio/test-fdopen.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale tools/regression directory that should have been deletedngie2015-12-051-105/+0
| | | | | | in r291840 Sponsored by: EMC / Isilon Storage Division
* MFC r264737:ngie2015-11-251-0/+105
Discussed with: jilles r264737 (by jilles): libc/stdio: Fail fdopen() on an execute-only fd. An execute-only fd (opened with O_EXEC) allows neither read() nor write() and is therefore incompatible with all stdio modes. Therefore, the [EINVAL] error applies. Also adjust the similar check in freopen() with a NULL path, even though this checks an fd which is already from a FILE.
OpenPOWER on IntegriCloud