Sortix cross-nightly manual
This manual documents Sortix cross-nightly. You can instead view this document in the latest official manual.
NAME
FFI — Foreign Function InterfaceLIBRARY
libffi, -lffiSYNOPSIS
#include <ffi.h>ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes);
ffi_prep_cif_var(ffi_cif *cif, ffi_abi abi, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes);
ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue);