Rizin
unix-like reverse engineering framework and cli tools
tuklib_progname.h
Go to the documentation of this file.
1 //
5 //
6 // Author: Lasse Collin
7 //
8 // This file has been put into the public domain.
9 // You can do whatever you want with this file.
10 //
12 
13 #ifndef TUKLIB_PROGNAME_H
14 #define TUKLIB_PROGNAME_H
15 
16 #include "tuklib_common.h"
17 #include <errno.h>
18 
20 
21 #if HAVE_DECL_PROGRAM_INVOCATION_NAME
22 # define progname program_invocation_name
23 #else
24 # define progname TUKLIB_SYMBOL(tuklib_progname)
25  extern char *progname;
26 #endif
27 
28 #define tuklib_progname_init TUKLIB_SYMBOL(tuklib_progname_init)
29 extern void tuklib_progname_init(char **argv);
30 
32 #endif
static static fork const void static count static fd const char const char static newpath char char argv
Definition: sflib.h:40
Common definitions for tuklib modules.
#define TUKLIB_DECLS_END
Definition: tuklib_common.h:48
#define TUKLIB_DECLS_BEGIN
Definition: tuklib_common.h:40
#define progname
#define tuklib_progname_init