109 lines
1.6 KiB
HTML
109 lines
1.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FFI</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FFI</H1>
|
|
Section: C Library Functions (3)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
<BR>BSD mandoc<BR>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
<B>FFI</B>
|
|
|
|
- Foreign Function Interface
|
|
|
|
<A NAME="lbAC"> </A>
|
|
<H2>LIBRARY</H2>
|
|
|
|
libffi, -lffi
|
|
<A NAME="lbAD"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
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 <A NAME="lbAE"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
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.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
ffi_prep_cif3,
|
|
|
|
|
|
ffi_prep_cif_var3,
|
|
|
|
|
|
ffi_call3
|
|
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">LIBRARY</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">SYNOPSIS</A><DD>
|
|
<DT id="4"><A HREF="#lbAE">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:42 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|