FFI

Section: C Library Functions (3)
Page Index

BSD mandoc
 

NAME

FFI - Foreign Function Interface  

LIBRARY

libffi, -lffi  

SYNOPSIS

In ffi.h Ft ffi_status Fo ffi_prep_cif Fa ffi_cif *cif Fa ffi_abi abi Fa unsigned int nargs Fa ffi_type *rtype Fa ffi_type **atypes Fc Ft void Fo ffi_prep_cif_var Fa ffi_cif *cif Fa ffi_abi abi Fa unsigned int nfixedargs Fa unsigned int ntotalargs Fa ffi_type *rtype Fa ffi_type **atypes Fc Ft void Fo ffi_call Fa ffi_cif *cif Fa void (*fn)(void) Fa void *rvalue Fa void **avalue Fc  

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

ffi_prep_cif3, ffi_prep_cif_var3, ffi_call3


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO