P99
Macros | Functions
Hooks executed at startup
+ Collaboration diagram for Hooks executed at startup:

Macros

#define P99_AT_LOAD_DEFINE   P99_AT_LOAD_DECLARE
 
#define P99_AT_UNLOAD_DEFINE   P99_AT_UNLOAD_DECLARE
 
#define P99_INIT_FUNCTION_DECLARE(FUNC, NR)
 Request that FUNC is to be called at initialization time with priority NR. More...
 
#define P99_INIT_TRIGGER(NAME, ARGC, ARGV)   P99_NOP
 
#define P99_INIT_VARIABLE(NAME, FUNC, NR)
 Request that FUNC is to be called with argument &(NAME) at initialization time with priority NR. More...
 
#define P99_INTERCEPT_MAIN
 Macro to control compilation of initialization features. More...
 
#define P99_MAIN_INTERCEPT(NAME)
 Intercept the main function before it is called and run some startup code. More...
 

Functions

int p99_init_main (int, char *[])
 

Detailed Description

P99_STRINGIFY
#define P99_STRINGIFY(...)
Transform the argument list into one string.
Definition: p99_compiler.h:109
P99_INIT_TRIGGER
#define P99_INIT_TRIGGER(NAME, ARGC, ARGV)
Definition: p99_init.h:251
p99_init_main
int p99_init_main(int, char *[])
P99_PASTE2
#define P99_PASTE2(_1, _2)
Paste two token sequences at their junction.
Definition: p99_paste.h:82
p99_init.h
Implement initialization functions that are executed early.
P99_INIT_FUNCTION_DECLARE
#define P99_INIT_FUNCTION_DECLARE(FUNC, NR)
Request that FUNC is to be called at initialization time with priority NR.
Definition: p99_init.h:143
P99_DECLARE_ONCE_CHAIN
#define P99_DECLARE_ONCE_CHAIN(T)
Declare the symbols that are needed for the macro P99_INIT_CHAIN().
Definition: p99_threads.h:276
P99_INIT_CHAIN
#define P99_INIT_CHAIN(T)
Ensure that the function that was defined with P99_DEFINE_ONCE_CHAIN has been called exactly once bef...
Definition: p99_threads.h:291
main
#define main
P99_DEFINE_ONCE_CHAIN
#define P99_DEFINE_ONCE_CHAIN(T,...)
Define a function that will be called exactly once by P99_INIT_CHAIN(T).
Definition: p99_threads.h:237
P99_MAIN_INTERCEPT
P99_MAIN_INTERCEPT(p99_threads_main)
Definition: p99_threads_posix.h:625