Manual Pages for UNIX Darwin command on man ffi
MyWebUniversity

Manual Pages for UNIX Darwin command on man ffi

FFI(3) BSD Library Functions Manual FFI(3)

NAME

FFFFII - Foreign Function Interface

LLIIBBRRAARRYY

libffi, -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);

void

ffffiiccaallll(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




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™