cvs commit: src/include Makefile spawn.h unistd.h src/lib/libc/gen exec.3 exec.c posix_spawn.c

David Schultz das at FreeBSD.ORG
Tue Jun 17 13:47:44 UTC 2008

On Tue, Jun 17, 2008, David Xu wrote:
> davidxu     2008-06-17 06:26:29 UTC
>   FreeBSD src repository
>   Modified files:
>     include              Makefile unistd.h 
>     lib/libc/gen exec.3 exec.c 
>   Added files:
>     include              spawn.h 
>     lib/libc/gen         posix_spawn.c 
>   Log:
>   SVN rev 179838 on 2008-06-17 06:26:29Z by davidxu
>   Add POSIX routines called posix_spawn() and posix_spawnp(), which
>   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

I have no objections to this, but doesn't it defeat the whole
purpose to implement posix_spawn() as a library function that just
calls fork/exec?

More information about the cvs-src mailing list