/external/dhcpcd-6.8.2/compat/ |
H A D | posix_spawn.h | 45 int posix_spawn(pid_t *, const char *,
|
H A D | posix_spawn.c | 28 /* This implementation of posix_spawn is only suitable for the needs of dhcpcd 41 #include "posix_spawn.h" 84 posix_spawn(pid_t *pid, const char *path, function
|
/external/valgrind/memcheck/tests/solaris/ |
H A D | spawn.c | 1 /* Functional tests for spawn() syscall invoked indirectly via posix_spawn() 31 /* posix_spawn(), no file actions, no attrs */ 34 ret = posix_spawn(&child, EXE_NAME, NULL, NULL, argv_exe, envp); 36 perror("posix_spawn"); 39 /* posix_spawn(), file actions, no attrs */ 47 ret = posix_spawn(&child, EXE_NAME, &fa, NULL, argv_exe, envp); 49 perror("posix_spawn"); 55 /* posix_spawn(), no file actions, attrs */ 63 ret = posix_spawn(&child, EXE_NAME, NULL, &spa, argv_exe, envp); 65 perror("posix_spawn"); [all...] |
/external/python/cpython2/Mac/Tools/ |
H A D | pythonw.c | 7 * This program uses posix_spawn rather than plain execv because we need 16 #pragma weak_import posix_spawn 138 * Set flag that causes posix_spawn to behave like execv 165 if (posix_spawn != NULL) { 170 posix_spawn(NULL, exec_path, NULL, 172 err(1, "posix_spawn: %s", exec_path);
|
/external/valgrind/none/tests/solaris/ |
H A D | posix_spawn.c | 1 /* Test that an error from posix_spawn() is correctly propagated to the 32 /* The following call to posix_spawn() should fail because the requested 34 err = posix_spawn(NULL, "/bin/true", &file_actions, NULL, argv_exe, 38 perror("posix_spawn");
|
/external/bison/lib/ |
H A D | spawn.in.h | 175 # define posix_spawn rpl_posix_spawn macro 177 _GL_FUNCDECL_RPL (posix_spawn, int, 185 _GL_CXXALIAS_RPL (posix_spawn, int, 194 _GL_FUNCDECL_SYS (posix_spawn, int, 203 _GL_CXXALIAS_SYS (posix_spawn, int, 211 _GL_CXXALIASWARN (posix_spawn); variable 213 # undef posix_spawn macro 215 _GL_WARN_ON_USE (posix_spawn, "posix_spawn is unportable - " 216 "use gnulib module posix_spawn fo [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
H A D | Program.inc | 184 // If this OS has posix_spawn and there is no memory limit being implied, use
185 // posix_spawn. It is more efficient than fork/exec.
222 int Err = posix_spawn(&PID, path.c_str(), FileActions, /*attrp*/0,
229 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
367 // The posix_spawn child process returns 127 on any kind of error.
368 // Following the POSIX convention for command-line tools (which posix_spawn
|
/external/bison/darwin-lib/ |
H A D | spawn.h | 487 # define posix_spawn rpl_posix_spawn 489 _GL_FUNCDECL_RPL (posix_spawn, int, 497 _GL_CXXALIAS_RPL (posix_spawn, int, 506 _GL_FUNCDECL_SYS (posix_spawn, int, 515 _GL_CXXALIAS_SYS (posix_spawn, int, 523 _GL_CXXALIASWARN (posix_spawn); 525 # undef posix_spawn macro 527 _GL_WARN_ON_USE (posix_spawn, "posix_spawn is unportable - " 528 "use gnulib module posix_spawn fo [all...] |
/external/bison/linux-lib/ |
H A D | spawn.h | 487 # define posix_spawn rpl_posix_spawn 489 _GL_FUNCDECL_RPL (posix_spawn, int, 497 _GL_CXXALIAS_RPL (posix_spawn, int, 506 _GL_FUNCDECL_SYS (posix_spawn, int, 515 _GL_CXXALIAS_SYS (posix_spawn, int, 523 _GL_CXXALIASWARN (posix_spawn); 525 # undef posix_spawn macro 527 _GL_WARN_ON_USE (posix_spawn, "posix_spawn is unportable - " 528 "use gnulib module posix_spawn fo [all...] |
/external/llvm/lib/Support/Unix/ |
H A D | Program.inc | 191 // If this OS has posix_spawn and there is no memory limit being implied, use 192 // posix_spawn. It is more efficient than fork/exec. 199 // c strings we pass to it stay alive until the call to posix_spawn, 243 int Err = posix_spawn(&PID, Program.str().c_str(), FileActions, 251 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
H A D | Program.inc | 191 // If this OS has posix_spawn and there is no memory limit being implied, use 192 // posix_spawn. It is more efficient than fork/exec. 199 // c strings we pass to it stay alive until the call to posix_spawn, 243 int Err = posix_spawn(&PID, Program.str().c_str(), FileActions, 251 return !MakeErrMsg(ErrMsg, "posix_spawn failed", Err);
|
/external/valgrind/coregrind/ |
H A D | vg_preloaded.c | 247 by posix_spawn() (when it is implemented using vfork()). A child calls 264 posix_spawn() to the parent. If there is any error Valgrind returns it as 268 posix_spawn(). 275 Newer Solaris versions introduce the spawn syscall and posix_spawn() is 297 in posix_spawn(). The forksys pre-wrapper saves a descriptor of the 320 posix_spawn() on the system for which the library is being compiled. 324 replaced here with an implementation that uses posix_spawn(). This 326 illumos is changed to use the posix_spawn() implementation. 362 err = posix_spawn(&pid, command, NULL, &attr, argv, envp ? envp : environ);
|
/external/dhcpcd-6.8.2/ |
H A D | Android.mk | 44 compat/posix_spawn.c
|
H A D | configure | 72 --without-posix_spawn) POSIX_SPAWN=no;; 782 printf "Testing for posix_spawn ... " 790 # error posix_spawn was fixed in OpenBSD-5.7 795 posix_spawn(NULL, NULL, NULL, NULL, NULL, NULL); 808 echo "COMPAT_SRCS+= compat/posix_spawn.c" >>$CONFIG_MK
|
H A D | script.c | 56 #include "compat/posix_spawn.h" 102 /* posix_spawn is a safe way of executing another image 116 i = posix_spawn(&pid, argv[0], NULL, &attr, argv, env);
|
/external/clang/tools/scan-build-py/tests/functional/exec/ |
H A D | main.c | 233 char *const file = "posix_spawn.c"; 241 if (0 != posix_spawn(&child, "/usr/bin/cc", 0, 0, argv, get_environ())) { 242 perror("posix_spawn");
|
/external/clang/tools/scan-build-py/libear/ |
H A D | ear.c | 265 int posix_spawn(pid_t *restrict pid, const char *restrict path, function 375 DLSYM(func, fp, "posix_spawn");
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | priv_syswrap-darwin.h | 309 DECL_TEMPLATE(darwin, posix_spawn); // 244
|
H A D | syswrap-darwin.c | 3357 //--------- posix_spawn ---------// 3400 PRE(posix_spawn) 3417 PRINT("posix_spawn( %#lx, %#lx(%s), %#lx, %#lx, %#lx )", 3422 PRE_REG_READ5(int, "posix_spawn", vki_pid_t*, pid, char*, path, 3424 PRE_MEM_WRITE("posix_spawn(pid)", ARG1, sizeof(vki_pid_t) ); 3425 PRE_MEM_RASCIIZ("posix_spawn(path)", ARG2); 3428 pre_argv_envp( ARG4, tid, "posix_spawn(argv)", 3429 "posix_spawn(argv[i])" ); 3431 pre_argv_envp( ARG5, tid, "posix_spawn(envp)", 3432 "posix_spawn(env [all...] |
/external/libcups/cups/ |
H A D | tls-darwin.c | 329 if (posix_spawn(&pid, command, &actions, NULL, argv, envp))
|
/external/bison/ |
H A D | configure | 3677 as_fn_append ac_func_list " posix_spawn" 7345 # Code from module posix_spawn-internal: 18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_spawn works" >&5 18416 $as_echo_n "checking whether posix_spawn works... " >&6; } 18653 || (err = posix_spawn (&child, CHILD_PROGRAM_FILENAME, &actions, NULL, argv, environ)) != 0)) 29658 for gl_func in posix_spawn posix_spawnp posix_spawnattr_init posix_spawnattr_destroy posix_spawnattr_getsigdefault posix_spawnattr_setsigdefault posix_spawnattr_getsigmask posix_spawnattr_setsigmask posix_spawnattr_getflags posix_spawnattr_setflags posix_spawnattr_getpgroup posix_spawnattr_setpgroup posix_spawnattr_getschedpolicy posix_spawnattr_setschedpolicy posix_spawnattr_getschedparam posix_spawnattr_setschedparam posix_spawn_file_actions_init posix_spawn_file_actions_destroy posix_spawn_file_actions_addopen posix_spawn_file_actions_addclose posix_spawn_file_actions_adddup2; do
|
/external/swiftshader/third_party/LLVM/ |
H A D | configure | 15649 for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
|