summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/posix_spawn.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace inconsistencies in libc in files copyrighted by me.ed2011-06-261-2/+2
|
* posix_spawn(): Do not fail when trying to close an fd that is not open.jilles2011-05-301-5/+2
| | | | | | | | | | | As noted in Austin Group issue #370 (an interpretation has been issued), failing posix_spawn() because an fd specified with posix_spawn_file_actions_addclose() is not open is unnecessarily harsh, and there are existing implementations that do not fail posix_spawn() for this reason. Reviewed by: ed MFC after: 10 days
* Fix a typo.rdivacky2008-10-231-1/+1
| | | | Approved by: kib (mentor)
* Turn execvpe() into an internal libc routine.ed2008-06-231-1/+2
| | | | | | | | | | | | Adding exevpe() has caused some ports to break. Even though execvpe() is a useful routine, it does not conform to any standards. This patch is a little bit different from the patch sent to the mailing list. I forgot to remove execvpe from the Symbol.map (which does not seem to miscompile libc, though). Reviewed by: davidxu Approved by: philip
* Process spawn attributes in POSIX document order.davidxu2008-06-191-21/+22
|
* Style fix.davidxu2008-06-171-1/+2
|
* Change my email address to the one from the FreeBSD project.ed2008-06-171-1/+1
| | | | Approved by: philip (mentor, implicit), davidxu
* Add POSIX routines called posix_spawn() and posix_spawnp(), whichdavidxu2008-06-171-0/+472
can be used as replacements for exec/fork in a lot of cases. This change also added execvpe() which allows environment variable PATH to be used for searching executable file, it is used for implementing posix_spawnp(). PR: standards/122051
OpenPOWER on IntegriCloud