Home
last modified time | relevance | path

Searched refs:commandname (Results 1 – 8 of 8) sorted by relevance

/minix/bin/sh/bltin/
H A Dbltin.h83 #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 Dtinytest.c80 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 Deval.h37 extern const char *commandname; /* currently executing command */
H A Derror.c134 if (commandname) in exvwarning()
135 outfmt(&errout, "%s: ", commandname); in exvwarning()
H A Doptions.c114 commandname = argv[0]; in procargs()
117 commandname = arg0; in procargs()
H A Deval.c108 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 Dparser.c1649 if (commandname) in synerror()
1650 outfmt(&errout, "%s: %d: ", commandname, startlinno); in synerror()
H A Dexec.c190 commandname = arg0 = savestr(argv[0]); in tryexec()