]> git.cameronkatri.com Git - mandoc.git/blob - test-progname.c
do not use the echo(1) -n option, it is not portable;
[mandoc.git] / test-progname.c
1 #include <stdlib.h>
2
3 int
4 main(void)
5 {
6 const char * progname;
7
8 progname = getprogname();
9 return progname == NULL;
10 }