diff options
Diffstat (limited to 'have/__progname.c')
-rw-r--r-- | have/__progname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/have/__progname.c b/have/__progname.c new file mode 100644 index 0000000..dbef94c --- /dev/null +++ b/have/__progname.c @@ -0,0 +1,11 @@ +/* public domain */ + +#include <stdio.h> + +extern const char *__progname; + +int +main(void) +{ + puts(__progname); +} |