This commit is contained in:
Jack L. Frost 2016-05-06 11:59:39 +03:00
commit 1282604441

16
fake.c Executable file
View File

@ -0,0 +1,16 @@
#include <stdio.h>
#include <libgen.h>
int main(int argc, char *argv[]) {
int i;
fprintf(stderr, "Hi! I'm fake! I've been called as: %s ", basename(argv[0]));
for ( i=1; i<argc; i++ ) {
fprintf(stderr, "%s ", argv[i]);
}
fprintf(stderr, "\n");
return(0);
}