xref: /netbsd-src/external/bsd/mdocml/dist/test-progname.c (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1 #include <stdlib.h>
2 
3 int
4 main(void)
5 {
6 	const char * progname;
7 
8 	progname = getprogname();
9 	return progname == NULL;
10 }
11