summaryrefslogtreecommitdiffstats
path: root/test-progname.c
blob: 0418b3c07bd898b37b233c1a81de9acbbf788f68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>

int
main(void)
{
	const char * progname;

	progname = getprogname();
	return progname == NULL;
}