/dports/editors/zile/zile-2.4.14/lib/ |
H A D | spawn_faction_addopen.c | 36 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 48 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 51 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 52 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 60 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 68 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/m4/m4-1.4.19/lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/www/wget2/wget2-2.0.0/lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/ftp/wget/wget-1.21.2/lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/bison/bison-3.7.6/lib/ |
H A D | spawn_faction_addopen.c | 38 posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, in posix_spawn_file_actions_addopen() argument 50 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); in posix_spawn_file_actions_addopen() 60 if (file_actions->_used == file_actions->_allocated in posix_spawn_file_actions_addopen() 61 && __posix_spawn_file_actions_realloc (file_actions) != 0) in posix_spawn_file_actions_addopen() 72 rec = &file_actions->_actions[file_actions->_used]; in posix_spawn_file_actions_addopen() 80 ++file_actions->_used; in posix_spawn_file_actions_addopen()
|
H A D | spawn_faction_destroy.c | 30 posix_spawn_file_actions_destroy (posix_spawn_file_actions_t *file_actions) in posix_spawn_file_actions_destroy() argument 34 return posix_spawn_file_actions_destroy (file_actions); in posix_spawn_file_actions_destroy() 39 for (i = 0; i < file_actions->_used; ++i) in posix_spawn_file_actions_destroy() 41 struct __spawn_action *sa = &file_actions->_actions[i]; in posix_spawn_file_actions_destroy() 57 free (file_actions->_actions); in posix_spawn_file_actions_destroy()
|
/dports/devel/libfixposix/libfixposix-0.4.3/src/tests/ |
H A D | spawn.c | 23 lfp_spawn_file_actions_t file_actions; in main() local 47 err = lfp_spawn_file_actions_init(&file_actions); in main() 51 err = lfp_spawn_file_actions_addopen(&file_actions,10,tempnam1,O_EXCL|O_RDONLY,0); in main() 52 err = lfp_spawn_file_actions_adddup2(&file_actions,10,0); in main() 53 err = lfp_spawn_file_actions_addclose(&file_actions,10); in main() 54 err = lfp_spawn_file_actions_addopen(&file_actions,1,tempnam2,O_WRONLY|O_APPEND,0); in main() 55 err = lfp_spawn_file_actions_adddup2(&file_actions,1,2); in main() 56 err = lfp_spawn(&pid, path, myargv, lfp_get_environ(), &file_actions, &attr); in main() 59 err = lfp_spawn_file_actions_destroy(&file_actions); in main()
|
/dports/devel/libfixposix/libfixposix-0.4.3/src/include/lfp/ |
H A D | spawn.h | 47 int lfp_spawn_file_actions_init(lfp_spawn_file_actions_t *file_actions); 49 int lfp_spawn_file_actions_destroy(lfp_spawn_file_actions_t *file_actions); 51 int lfp_spawn_file_actions_addopen(lfp_spawn_file_actions_t *file_actions, 55 int lfp_spawn_file_actions_addclose(lfp_spawn_file_actions_t *file_actions, 58 int lfp_spawn_file_actions_adddup2(lfp_spawn_file_actions_t *file_actions, 61 int lfp_spawn_file_actions_addkeep(lfp_spawn_file_actions_t *file_actions, 131 const lfp_spawn_file_actions_t *restrict file_actions, 138 const lfp_spawn_file_actions_t *restrict file_actions,
|
/dports/devel/libfixposix/libfixposix-0.4.3/src/lib/ |
H A D | spawn.c | 61 const lfp_spawn_file_actions_t *file_actions, in handle_child() argument 68 lfp_spawn_apply_file_actions(file_actions)) { in handle_child() 109 const lfp_spawn_file_actions_t *restrict file_actions, in _lfp_spawn() argument 131 handle_child(execfn, path, argv, envp, file_actions, attr, pipes, use_vfork); in _lfp_spawn() 144 const lfp_spawn_file_actions_t *restrict file_actions, in lfp_spawn() argument 149 return _lfp_spawn(&lfp_execve, pid, path, argv, envp, file_actions, attr); in lfp_spawn() 157 const lfp_spawn_file_actions_t *restrict file_actions, in lfp_spawnp() argument 162 return _lfp_spawn(&lfp_execvpe, pid, file, argv, envp, file_actions, attr); in lfp_spawnp()
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/solaris/ |
H A D | posix_spawn.c | 14 posix_spawn_file_actions_t file_actions; in main() local 18 err = posix_spawn_file_actions_init(&file_actions); in main() 25 err = posix_spawn_file_actions_adddup2(&file_actions, 3, 4); in main() 34 err = posix_spawn(NULL, "/bin/true", &file_actions, NULL, argv_exe, in main() 45 err = posix_spawn_file_actions_destroy(&file_actions); in main()
|
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/solaris/ |
H A D | posix_spawn.c | 14 posix_spawn_file_actions_t file_actions; in main() local 18 err = posix_spawn_file_actions_init(&file_actions); in main() 25 err = posix_spawn_file_actions_adddup2(&file_actions, 3, 4); in main() 34 err = posix_spawn(NULL, "/bin/true", &file_actions, NULL, argv_exe, in main() 45 err = posix_spawn_file_actions_destroy(&file_actions); in main()
|
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/base/ |
H A D | process_util_bsd.cc | 43 posix_spawn_file_actions_t file_actions; in LaunchApp() local 44 if (posix_spawn_file_actions_init(&file_actions) != 0) { in LaunchApp() 59 if (posix_spawn_file_actions_adddup2(&file_actions, src_fd, dest_fd) != in LaunchApp() 61 posix_spawn_file_actions_destroy(&file_actions); in LaunchApp() 68 int spawn_succeeded = (posix_spawnp(&pid, argv_copy[0], &file_actions, NULL, in LaunchApp() 71 posix_spawn_file_actions_destroy(&file_actions); in LaunchApp()
|