There is a header file called ose.h
, this header file contains some code like this:
#include <osetypes.h>
#include <osarch.h>
#include <itc.h>
......
LITS_WRAP_FUNC(union SIGNAL*, alloc, OSBUFSIZE size, SIGSELECT signo)
{ return zzalloc(size, signo); }
In my .cc
file, if I include the ose.h
, I'm able to call the function zzalloc
directly, but if I include all the header files ose.h
includes, I couldn't call the zzalloc
function, why? I don't know where is the zzalloc
function come from, probably from some .so
and .a
files, but I can't see it. How can I call the functions directly like ose.h
without including ose.h
in my code?