Searched refs:file_actions (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/libsyscall/wrappers/spawn/
H A Dposix_spawn.c875 * Parameters: file_actions The spawn file actions object to be
897 posix_spawn_file_actions_init(posix_spawn_file_actions_t *file_actions) argument
899 _posix_spawn_file_actions_t *psactsp = (_posix_spawn_file_actions_t *)file_actions;
931 * EINVAL The value specified by file_actions is invalid.
934 posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *file_actions) argument
938 if (file_actions == NULL || *file_actions == NULL)
941 psacts = *(_posix_spawn_file_actions_t *)file_actions;
943 *file_actions = NULL;
991 * Description: Add an open action to the object referenced by 'file_actions'
1013 posix_spawn_file_actions_addopen( posix_spawn_file_actions_t * __restrict file_actions, int filedes, const char * __restrict path, int oflag, mode_t mode) argument
1072 posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *file_actions, int filedes) argument
1128 posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *file_actions, int filedes, int newfiledes) argument
1196 posix_spawn_file_actions_addinherit_np(posix_spawn_file_actions_t *file_actions, int filedes) argument
1461 posix_spawn(pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]) argument
[all...]
/xnu-2422.115.4/bsd/sys/
H A Dspawn_internal.h296 file_actions; /* pointer to block */ member in struct:_posix_spawn_args_desc
319 uint32_t file_actions; /* pointer to block */ member in struct:user32__posix_spawn_args_desc
330 user_addr_t file_actions; /* pointer to block */ member in struct:user__posix_spawn_args_desc
/xnu-2422.115.4/bsd/kern/
H A Dkern_exec.c1864 px_args.file_actions = CAST_USER_ADDR_T(px_args32.file_actions);
1888 /* Limit file_actions to allowed number of open files */
1902 if ((error = copyin(px_args.file_actions, px_sfap,
1991 * to handle the file_actions. Since vfork() also ends up setting

Completed in 81 milliseconds