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

NAME

4     FFI — Foreign Function Interface
5

LIBRARY

7     libffi, -lffi
8

SYNOPSIS

10     #include <ffi.h>
11
12     ffi_status
13     ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs,
14         ffi_type *rtype, ffi_type **atypes);
15
16     void
17     ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue);
18

DESCRIPTION

20     The foreign function interface provides a mechanism by which a function
21     can generate a call to another function at runtime without requiring
22     knowledge of the called function's interface at compile time.
23

SEE ALSO

25     ffi_prep_cif(3), ffi_call(3)
26
27                               February 15, 2008
Impressum