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