aboutsummaryrefslogtreecommitdiff
path: root/include/spawn.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove __restrict keywords from array arguments to make GCC's -std=c99 work.Ed Schouten2008-06-191-2/+5
| | | | | | | | | | | | | | | | | | | | When GCC is invoked with -std=c99, the following errors are displayed when including <spawn.h>: /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator We'd better remove the __restrict keywords here. The same is also done in <regex.h>. Submitted by: Andrzej Tobola <ato iem pw edu pl> Reviewed by: davidxu Approved by: philip (mentor, implicit) Notes: svn path=/head/; revision=179873
* Change my email address to the one from the FreeBSD project.Ed Schouten2008-06-171-1/+1
| | | | | | | Approved by: philip (mentor, implicit), davidxu Notes: svn path=/head/; revision=179840
* Add POSIX routines called posix_spawn() and posix_spawnp(), whichDavid Xu2008-06-171-0/+115
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 Notes: svn path=/head/; revision=179838