/busybox-1.35.0/shell/ |
D | hush_doc.txt | 27 pipe 0 res_word=NONE followup=SEQ prog[0] 'echo' 'Hello' 31 pipe 0 res_word=NONE followup=OR prog[0] 'echo' 'foo' 32 pipe 1 res_word=NONE followup=SEQ prog[0] 'echo' 'bar' 37 prog 0 group {}: 38 pipe 0 res_word=IF followup=SEQ prog[0] 'true' 39 pipe 1 res_word=THEN followup=SEQ prog[0] 'echo' 'Hello' 40 pipe 2 res_word=THEN followup=SEQ prog[0] 'true' 51 prog 0 group {}: 52 pipe 0 res_word=IF followup=SEQ prog[0] 'true' 54 prog 0 group {}: [all …]
|
D | ash.c | 8291 static void shellexec(char *prog, char **argv, const char *path, int idx) NORETURN; 8292 static void shellexec(char *prog, char **argv, const char *path, int idx) in shellexec() argument 8301 if (strchr(prog, '/') != NULL in shellexec() 8303 || (applet_no = find_applet_by_name(prog)) >= 0 in shellexec() 8306 tryexec(IF_FEATURE_SH_STANDALONE(applet_no,) prog, argv, envp); in shellexec() 8342 prog, e, suppress_int)); in shellexec() 8343 ash_msg_and_raise(EXEND, "%s: %s", prog, errmsg(e, "not found")); in shellexec() 10042 char *prog; in execcmd() local 10059 prog = argv[0]; in execcmd() 10062 shellexec(prog, argv, pathval(), 0); in execcmd()
|
D | hush.c | 8009 static int setup_redirects(struct command *prog, struct squirrel **sqp) in setup_redirects() argument 8013 for (redir = prog->redirects; redir; redir = redir->next) { in setup_redirects()
|
/busybox-1.35.0/examples/shutdown-1.0/script/ |
D | hardshutdown.c | 110 char *prog, *ptr; in main() local 113 prog = argv[0]; in main() 114 ptr = strrchr(prog,'/'); in main() 116 prog = ptr+1; in main()
|
/busybox-1.35.0/miscutils/ |
D | bc.c | 813 BcProgram prog; 1169 BcVec *v = &G.prog.results; in bc_result_pop_and_push() 1242 return bc_vec_item(&G.prog.fns, idx); in xc_program_func() 1245 #define xc_program_func_BC_PROG_MAIN() ((BcFunc*)(G.prog.fns.v)) 1250 BcInstPtr *ip = bc_vec_top(&G.prog.exestack); in bc_program_current_func() 1264 IF_DC(return bc_vec_item(&G.prog.strs, idx);) in xc_program_str() 1275 IF_DC(return bc_vec_item(&G.prog.consts, idx);) in xc_program_const() 3685 size_t idx = bc_vec_push(IS_BC ? &p->func->consts : &G.prog.consts, &num); in xc_parse_pushNUM() 3689 size_t idx = bc_vec_push(&G.prog.consts, &num); in xc_parse_pushNUM() 3710 bc_vec_npop(&G.prog.exestack, G.prog.exestack.len - 1); in xc_program_reset() [all …]
|
D | crond.c | 691 const char *shell, *prog; in fork_job() local 703 prog = run_sendmail ? SENDMAIL : shell; in fork_job() 713 log5("child running %s", prog); in fork_job() 721 execlp(prog, prog, "-c", line->cl_cmd, (char *) NULL); in fork_job() 723 execlp(prog, prog, SENDMAIL_ARGS, (char *) NULL); in fork_job() 729 bb_error_msg_and_die("can't execute '%s' for user %s", prog, user); in fork_job()
|
/busybox-1.35.0/runit/ |
D | sv.c | 370 char *prog[2]; in checkscript() local 380 prog[0] = (char*)"./check"; in checkscript() 381 prog[1] = NULL; in checkscript() 382 pid = spawn(prog); in checkscript()
|
/busybox-1.35.0/init/ |
D | bootchartd.c | 265 static void finalize(char *tempdir, const char *prog, int process_accounting) in finalize() argument 276 if (prog) in finalize() 277 fprintf(header_fp, "profile.process = %s\n", prog); in finalize()
|
/busybox-1.35.0/console-tools/ |
D | openvt.c | 179 const char *prog = argv[0]; in openvt_main() local
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 113 char *prog; member 303 free(p->prog); in free_instance() 459 inst->prog, inst->device, sig); in wait_one() 578 inst->prog = G.args[0]; in execute()
|
/busybox-1.35.0/docs/ |
D | nofork_noexec.txt | 17 spawn_and_wait(argv), BB_EXECVP(prog,argv) or BB_EXECLP(prog,argv0,...).
|
/busybox-1.35.0/util-linux/ |
D | mount.c | 1154 long unsigned prog, in get_mountport() argument 1168 if (!prog) in get_mountport() 1169 prog = MOUNTPROG; in get_mountport() 1170 pm_mnt->pm_prog = prog; in get_mountport() 1176 if (pmap->pml_map.pm_prog != prog) in get_mountport()
|
/busybox-1.35.0/include/ |
D | libbb.h | 1216 #define BB_EXECLP(prog,cmd,...) \ argument 1218 if (find_applet_by_name(prog) >= 0) \ 1220 execlp(prog, cmd, __VA_ARGS__); \ 1223 #define BB_EXECVP(prog,cmd) execvp(prog,cmd) argument 1224 #define BB_EXECLP(prog,cmd,...) execlp(prog,cmd,__VA_ARGS__) argument
|