Lines Matching refs:args
75 maybe_script_execute (struct posix_spawn_args *args) in maybe_script_execute() argument
78 && (args->xflags & SPAWN_XFLAGS_TRY_SHELL) && errno == ENOEXEC) in maybe_script_execute()
80 char *const *argv = args->argv; in maybe_script_execute()
81 ptrdiff_t argc = args->argc; in maybe_script_execute()
86 new_argv[1] = (char *) args->file; in maybe_script_execute()
93 args->exec (new_argv[0], new_argv, args->envp); in maybe_script_execute()
103 struct posix_spawn_args *args = arguments; in __spawni_child() local
104 const posix_spawnattr_t *restrict attr = args->attr; in __spawni_child()
105 const posix_spawn_file_actions_t *file_actions = args->fa; in __spawni_child()
290 internal_sigprocmask (SIG_SETMASK, &args->oldmask, NULL); in __spawni_child()
292 args->exec (args->file, args->argv, args->envp); in __spawni_child()
297 maybe_script_execute (args); in __spawni_child()
305 args->err = errno ? : ECHILD; in __spawni_child()
319 struct posix_spawn_args args; in __spawnix() local
363 args.err = 0; in __spawnix()
364 args.file = file; in __spawnix()
365 args.exec = exec; in __spawnix()
366 args.fa = file_actions; in __spawnix()
367 args.attr = attrp ? attrp : &(const posix_spawnattr_t) { 0 }; in __spawnix()
368 args.argv = argv; in __spawnix()
369 args.argc = argc; in __spawnix()
370 args.envp = envp; in __spawnix()
371 args.xflags = xflags; in __spawnix()
373 internal_signal_block_all (&args.oldmask); in __spawnix()
390 new_pid = __clone_internal (&clone_args, __spawni_child, &args); in __spawnix()
403 ec = args.err; in __spawnix()
421 internal_signal_restore_set (&args.oldmask); in __spawnix()