xref: /freebsd/contrib/libdiff/compat/getprogname_linux.c (revision fef01f0498aa7b256bc37bbf28ee0e8ac9b2536f)
1 #define _GNU_SOURCE
2 #include <errno.h>
3 
4 const char *
5 getprogname(void)
6 {
7 	return program_invocation_short_name;
8 }
9