Date: Tue, 17 Jun 2008 09:48:28 -0400 From: David Schultz <das@FreeBSD.ORG> To: David Xu <davidxu@FreeBSD.ORG> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include Makefile spawn.h unistd.h src/lib/libc/gen Makefile.inc Symbol.map exec.3 exec.c posix_spawn.c Message-ID: <20080617134828.GA30076@zim.MIT.EDU> In-Reply-To: <200806170633.m5H6XMJH084600@repoman.freebsd.org> References: <200806170633.m5H6XMJH084600@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 Makefile.inc Symbol.map 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080617134828.GA30076>