ucspi-tcp6 1.13.02
ucspi-tcp6
Loading...
Searching...
No Matches
argv0.c
Go to the documentation of this file.
1#include "pathexec.h"
2#include "logmsg.h"
3
4#define WHO "argv0"
5
6int main(int argc,char **argv,char **envp)
7{
8 if (argc < 3) {
9 logmsg(WHO,100,USAGE,"argv0 realname program [ arg ... ]");
10 }
11 pathexec_run(argv[1],argv + 2,envp);
12 logmsg(WHO,111,FATAL,B("unable to run: ",argv[1]));
13}
int main()
Definition: addcr.c:4
#define WHO
Definition: argv0.c:4