baz.c   [plain text]



static int inited = 0;

__attribute__((constructor))
static void myinit()
{
	inited = 1;
}

int bazIsInited() {
	return inited;
}