|
NAMEposix_spawnattr_init ,
posix_spawnattr_destroy —
initialize and destroy spawn attributes object
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <spawn.h>
int
int
DESCRIPTIONTheposix_spawnattr_init () function initializes a spawn
attributes object attr with the default value for all of
the individual attributes used by the implementation. Initializing an already
initialized spawn attributes object may cause memory to be leaked.
The A spawn attributes object is of type
posix_spawnattr_t (defined in
The resulting spawn attributes object (possibly modified by
setting individual attribute values), is used to modify the behavior of
RETURN VALUESUpon successful completion,posix_spawnattr_init () and
posix_spawnattr_destroy () return zero; otherwise, an
error number is returned to indicate the error.
ERRORSTheposix_spawnattr_init () function will fail if:
SEE ALSOposix_spawn(3), posix_spawnp(3)STANDARDSTheposix_spawnattr_init () and
posix_spawnattr_destroy () functions conform to
IEEE Std 1003.1-2001 (“POSIX.1”).
HISTORYTheposix_spawnattr_init () and
posix_spawnattr_destroy () functions first appeared in
FreeBSD 8.0.
AUTHORSEd Schouten <ed@FreeBSD.org>
Visit the GSP FreeBSD Man Page Interface. |