Searched refs:commandname (Results 1 – 8 of 8) sorted by relevance
/minix/bin/sh/bltin/ |
H A D | bltin.h | 83 #define getprogname() commandname 92 #define INITARGS(argv) if ((commandname = argv[0]) == NULL) {fputs("Argc is zero\n", stderr); exit(… 100 extern const char *commandname;
|
/minix/external/bsd/libevent/dist/test/ |
H A D | tinytest.c | 80 static char commandname[MAX_PATH+1]; variable 141 commandname, verbosity_flag, group->prefix, testcase->name); in _testcase_run_forked() 147 ok = CreateProcessA(commandname, buffer, NULL, NULL, 0, in _testcase_run_forked() 311 snprintf(commandname, sizeof(commandname), "%s%s", v[0], extension); in tinytest_main() 312 commandname[MAX_PATH]='\0'; in tinytest_main()
|
/minix/bin/sh/ |
H A D | eval.h | 37 extern const char *commandname; /* currently executing command */
|
H A D | error.c | 134 if (commandname) in exvwarning() 135 outfmt(&errout, "%s: ", commandname); in exvwarning()
|
H A D | options.c | 114 commandname = argv[0]; in procargs() 117 commandname = arg0; in procargs()
|
H A D | eval.c | 108 const char *commandname; variable 1005 savecmdname = commandname; in evalcommand() 1027 commandname = argv[0]; in evalcommand() 1052 commandname = savecmdname; in evalcommand() 1205 commandname = fullname; in dotcmd()
|
H A D | parser.c | 1649 if (commandname) in synerror() 1650 outfmt(&errout, "%s: %d: ", commandname, startlinno); in synerror()
|
H A D | exec.c | 190 commandname = arg0 = savestr(argv[0]); in tryexec()
|