|
NAMEposix_spawn_file_actions_init ,
posix_spawn_file_actions_destroy —
initialize and destroy spawn file actions object
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <spawn.h>
int
int
DESCRIPTIONTheposix_spawn_file_actions_init () function initialize
the object referenced by file_actions () to contain no
file actions for posix_spawn () or
posix_spawnp (). Initializing an already initialized
spawn file actions object may cause memory to be leaked.
The RETURN VALUESUpon successful completion, these functions return zero; otherwise, an error number is returned to indicate the error.ERRORSTheposix_spawn_file_actions_init () function will fail
if:
SEE ALSOposix_spawn(3), posix_spawn_file_actions_addclose(3), posix_spawn_file_actions_addclosefrom_np(3), posix_spawn_file_actions_adddup2(3), posix_spawn_file_actions_addopen(3), posix_spawnp(3)STANDARDSTheposix_spawn_file_actions_init () and
posix_spawn_file_actions_destroy () functions conform
to IEEE Std 1003.1-2001 (“POSIX.1”).
HISTORYTheposix_spawn_file_actions_init () and
posix_spawn_file_actions_destroy () functions first
appeared in FreeBSD 8.0.
AUTHORSEd Schouten <ed@FreeBSD.org>
Visit the GSP FreeBSD Man Page Interface. |