Searched refs:actions (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | spawn.cpp | 138 const posix_spawn_file_actions_t* actions, in posix_spawn() argument 149 bool use_vfork = ((flags & POSIX_SPAWN_USEVFORK) != 0) || (actions == nullptr && flags == 0); in posix_spawn() 157 if (actions) (*actions)->Do(); in posix_spawn() 168 int posix_spawn(pid_t* pid, const char* path, const posix_spawn_file_actions_t* actions, in posix_spawn() argument 170 return posix_spawn(pid, path, actions, attr, argv, env, execve); in posix_spawn() 173 int posix_spawnp(pid_t* pid, const char* file, const posix_spawn_file_actions_t* actions, in posix_spawnp() argument 175 return posix_spawn(pid, file, actions, attr, argv, env, execvpe); in posix_spawnp() 274 int posix_spawn_file_actions_init(posix_spawn_file_actions_t* actions) { in posix_spawn_file_actions_init() argument 275 *actions = reinterpret_cast<__posix_spawn_file_actions*>(calloc(1, sizeof(**actions))); in posix_spawn_file_actions_init() 276 return (*actions == nullptr) ? errno : 0; in posix_spawn_file_actions_init() [all …]
|