Lines Matching +full:image +full:- +full:specific
6 .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
15 posix_spawn, posix_spawnp \- spawn a process
39 (child process) from the specified process image. The new process image is
40 constructed from a regular executable file called the new process image file.
50 .in -2
61 .in -2
69 The argument \fIargv\fR is an array of character pointers to null-terminated
72 process image. The value in \fIargv\fR[0] should point to a filename that is
73 associated with the process image being started by the \fBposix_spawn()\fR or
77 The argument \fIenvp\fR is an array of character pointers to null-terminated
78 strings. These strings constitute the environment for the new process image.
85 list-terminating null pointers. There is no additional system overhead included
90 the new process image file to execute.
94 pathname that identifies the new process image file. If the file parameter
96 new process image file. Otherwise, the path prefix for this file is obtained by
99 implementation-defined.
104 close-on-exec flag \fBFD_CLOEXEC\fR is set (see \fBfcntl\fR(2)). For those
147 If the \fBPOSIX_SPAWN_SETPGROUP\fR flag is set in the \fIspawn-flags\fR
148 attribute of the object referenced by \fIattrp\fR, and the \fIspawn-pgroup\fR
149 attribute of the same object is non-zero, then the child's process group is as
150 specified in the \fIspawn-pgroup\fR attribute of the object referenced by
155 \fIspawn-flags\fR attribute of the object referenced by \fIattrp\fR, and the
156 \fIspawn-pgroup\fR attribute of the same object is set to zero, then the child
160 If the \fBPOSIX_SPAWN_SETPGROUP\fR flag is not set in the \fIspawn-flags\fR
165 If the \fBPOSIX_SPAWN_SETSCHEDPARAM\fR flag is set in the \fIspawn-flags\fR
167 \fBPOSIX_SPAWN_SETSCHEDULER\fR is not set, the new process image initially has
169 specified in the \fIspawn-schedparam\fR attribute of the object referenced by
173 If the \fBPOSIX_SPAWN_SETSCHEDULER\fR flag is set in \fIspawn-flags\fR
175 the \fBPOSIX_SPAWN_SETSCHEDPARAM\fR flag), the new process image initially has
176 the scheduling policy specified in the \fIspawn-schedpolicy\fR attribute of the
178 \fIspawn-schedparam\fR attribute of the same object.
181 The \fBPOSIX_SPAWN_RESETIDS\fR flag in the \fIspawn-flags\fR attribute of the
186 set-user-ID mode bit of the new process image file is set, the effective user
188 image begins execution. If this flag is set, the child process's effective user
189 ID is reset to the parent's real user ID. In either case, if the set-user-ID
190 mode bit of the new process image file is set, the effective user ID of the
191 child process becomes that file's owner ID before the new process image begins
195 The \fBPOSIX_SPAWN_RESETIDS\fR flag in the \fIspawn-flags\fR attribute of the
200 the set-group-ID mode bit of the new process image file is set, the effective
202 process image begins execution.
205 If the \fBPOSIX_SPAWN_SETSIGMASK\fR flag is set in the \fIspawn-flags\fR
207 has the signal mask specified in the \fIspawn-sigmask\fR attribute of the
211 If the \fBPOSIX_SPAWN_SETSIGDEF\fR flag is set in the \fIspawn-flags\fR
213 \fIspawn-sigdefault\fR attribute of the same object is set to their default
217 If the \fBPOSIX_SPAWN_SETSIGIGN_NP\fR flag is set in the spawn-flags attribute
219 \fIspawn-sigignore\fR attribute of the same object are set to be ignored in the
224 are set in the spawn-flags attribute of the object referenced by \fIattrp\fR,
229 If the \fBPOSIX_SPAWN_NOSIGCHLD_NP\fR flag is set in the \fIspawn-flags\fR
237 If the \fBPOSIX_SPAWN_WAITPID_NP\fR flag is set in the \fIspawn-flags\fR
238 attribute of the object referenced by \fIattrp\fR, no wait-for-multiple-pids
242 signal being set to be ignored in the parent. Only a specific wait for the
248 If the \fBPOSIX_SPAWN_NOEXECERR_NP\fR flag is set in the spawn-flags attribute
249 of the object referenced by \fIattrp\fR, and if the specified process image
260 \fBPOSIX_SPAWN_SETSIGIGN_NP\fR flag is set in the spawn-flags attribute of the
262 \fIspawn-sigignore\fR attribute of the same object.
266 image are set to be ignored by the child process, unless otherwise specified by
267 the \fBPOSIX_SPAWN_SETSIGDEF\fR flag being set in the \fIspawn-flags\fR
269 indicated in the \fIspawn-sigdefault\fR attribute of the object referenced by
276 \fBPOSIX_SPAWN_SETSIGDEF\fR flag being set in the \fIspawn-flags\fR attribute
278 indicated in the \fIspawn-sigdefault\fR attribute of the object referenced by
289 process image as though \fBfork()\fR had been called to create a child process
291 child process to execute the new process image.
301 pointed to by a non-null \fIpid\fR argument, and return zero as the function
303 variable pointed to by a non-null \fIpid\fR is unspecified, and an error number
328 If \fBPOSIX_SPAWN_SETPGROUP\fR is set in the \fIspawn-flags\fR attribute of the
335 not set in the \fIspawn-flags\fR attribute of the object referenced by
341 If \fBPOSIX_SPAWN_SETSCHEDULER\fR is set in the \fIspawn-flags\fR attribute of
377 MT-Level MT-Safe
413 1003.1-2001) permits the \fBposix_spawn()\fR and \fBposix_spawnp()\fR functions
414 to return successfully before some of the above-described errors are detected,
423 .in -2
429 implementation. Any error that occurs before the new process image is
431 \fBposix_spawnp()\fR functions to return the corresponding non-zero error value
438 \fBposix_spawnattr_setsigignore_np()\fR functions are non-portable Solaris