fake
This commit is contained in:
commit
1282604441
16
fake.c
Executable file
16
fake.c
Executable 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user