Home
last modified time | relevance | path

Searched refs:file_actions (Results 1 – 11 of 11) sorted by relevance

/posix/
A Dspawn_faction_init.c29 __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) in __posix_spawn_file_actions_realloc() argument
31 int newalloc = file_actions->__allocated + 8; in __posix_spawn_file_actions_realloc()
32 void *newmem = realloc (file_actions->__actions, in __posix_spawn_file_actions_realloc()
39 file_actions->__actions = (struct __spawn_action *) newmem; in __posix_spawn_file_actions_realloc()
40 file_actions->__allocated = newalloc; in __posix_spawn_file_actions_realloc()
48 __posix_spawn_file_actions_init (posix_spawn_file_actions_t *file_actions) in __posix_spawn_file_actions_init() argument
51 memset (file_actions, '\0', sizeof (*file_actions)); in __posix_spawn_file_actions_init()
A Dspawn_faction_addclose.c27 __posix_spawn_file_actions_addclose (posix_spawn_file_actions_t *file_actions, in __posix_spawn_file_actions_addclose() argument
36 if (file_actions->__used == file_actions->__allocated in __posix_spawn_file_actions_addclose()
37 && __posix_spawn_file_actions_realloc (file_actions) != 0) in __posix_spawn_file_actions_addclose()
42 rec = &file_actions->__actions[file_actions->__used]; in __posix_spawn_file_actions_addclose()
47 ++file_actions->__used; in __posix_spawn_file_actions_addclose()
A Dspawn_faction_addchdir.c26 posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addchdir_np() argument
36 if (file_actions->__used == file_actions->__allocated in posix_spawn_file_actions_addchdir_np()
37 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addchdir_np()
45 rec = &file_actions->__actions[file_actions->__used]; in posix_spawn_file_actions_addchdir_np()
50 ++file_actions->__used; in posix_spawn_file_actions_addchdir_np()
A Dspawn_faction_addclosefrom.c26 *file_actions, int from) in __posix_spawn_file_actions_addclosefrom()
35 if (file_actions->__used == file_actions->__allocated in __posix_spawn_file_actions_addclosefrom()
36 && __posix_spawn_file_actions_realloc (file_actions) != 0) in __posix_spawn_file_actions_addclosefrom()
41 rec = &file_actions->__actions[file_actions->__used]; in __posix_spawn_file_actions_addclosefrom()
46 ++file_actions->__used; in __posix_spawn_file_actions_addclosefrom()
A Dspawn_faction_adddup2.c27 __posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t *file_actions, in __posix_spawn_file_actions_adddup2() argument
36 if (file_actions->__used == file_actions->__allocated in __posix_spawn_file_actions_adddup2()
37 && __posix_spawn_file_actions_realloc (file_actions) != 0) in __posix_spawn_file_actions_adddup2()
42 rec = &file_actions->__actions[file_actions->__used]; in __posix_spawn_file_actions_adddup2()
48 ++file_actions->__used; in __posix_spawn_file_actions_adddup2()
A Dspawn_faction_addopen.c28 __posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in __posix_spawn_file_actions_addopen() argument
42 if (file_actions->__used == file_actions->__allocated in __posix_spawn_file_actions_addopen()
43 && __posix_spawn_file_actions_realloc (file_actions) != 0) in __posix_spawn_file_actions_addopen()
51 rec = &file_actions->__actions[file_actions->__used]; in __posix_spawn_file_actions_addopen()
59 ++file_actions->__used; in __posix_spawn_file_actions_addopen()
A Dspawn_faction_destroy.c25 __posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in __posix_spawn_file_actions_destroy() argument
28 for (int i = 0; i < file_actions->__used; ++i) in __posix_spawn_file_actions_destroy()
30 struct __spawn_action *sa = &file_actions->__actions[i]; in __posix_spawn_file_actions_destroy()
49 free (file_actions->__actions); in __posix_spawn_file_actions_destroy()
A Dspawnp.c26 const posix_spawn_file_actions_t *file_actions, in __posix_spawnp() argument
30 return __spawni (pid, file, file_actions, attrp, argv, envp, in __posix_spawnp()
40 const posix_spawn_file_actions_t *file_actions, in __posix_spawnp_compat() argument
44 return __spawni (pid, file, file_actions, attrp, argv, envp, in __posix_spawnp_compat()
A Dspawn.c26 const posix_spawn_file_actions_t *file_actions, in __posix_spawn() argument
30 return __spawni (pid, path, file_actions, attrp, argv, envp, 0); in __posix_spawn()
40 const posix_spawn_file_actions_t *file_actions, in libc_hidden_def()
44 return __spawni (pid, file, file_actions, attrp, argv, envp, in libc_hidden_def()
A Dspawn_int.h76 file_actions)
80 const posix_spawn_file_actions_t *file_actions,
A Dspawni.c36 const posix_spawn_file_actions_t *file_actions, in __spawni() argument

Completed in 15 milliseconds