Searched refs:actions (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | spawn.cpp | 184 const posix_spawn_file_actions_t* actions, in posix_spawn() argument 195 bool use_vfork = ((flags & POSIX_SPAWN_USEVFORK) != 0) || (actions == nullptr && flags == 0); in posix_spawn() 203 if (actions) (*actions)->Do(); in posix_spawn() 214 int posix_spawn(pid_t* pid, const char* path, const posix_spawn_file_actions_t* actions, in posix_spawn() argument 216 return posix_spawn(pid, path, actions, attr, argv, env, execve); in posix_spawn() 219 int posix_spawnp(pid_t* pid, const char* file, const posix_spawn_file_actions_t* actions, in posix_spawnp() argument 221 return posix_spawn(pid, file, actions, attr, argv, env, execvpe); in posix_spawnp() 320 int posix_spawn_file_actions_init(posix_spawn_file_actions_t* actions) { in posix_spawn_file_actions_init() argument 321 *actions = reinterpret_cast<__posix_spawn_file_actions*>(calloc(1, sizeof(**actions))); in posix_spawn_file_actions_init() 322 return (*actions == nullptr) ? errno : 0; in posix_spawn_file_actions_init() [all …]
|