NAME
FFFFII - Foreign Function Interface
LLIIBBRRAARRYYlibffi, -lffi
SYNOPSIS
##iinncclluuddee <
> ffistatus
ffffiipprreeppcciiff(fficif *cif, ffiabi abi, unsigned int nargs,
ffitype *rtype, ffitype **atypes);
ffistatus
ffffiipprreeppcclloossuurree(fficlosure *closure, fficif *cif,
void (*fun)(fficif*,void*,void**,void*), void *userdata);
voidffffiiccaallll(fficif *cif, void (*fn)(void), void *rvalue, void **avalue);
DESCRIPTION
The foreign function interface provides a mechanism by which a function can generate a call to another function at runtime without requiring knowledge of the called function's interface at compile time.SEE ALSO
ffiprepcif(3), ffiprepclosure(3), fficall(3)
Darwin July 20, 2007 Darwin