OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libffi/] [man/] [ffi.3] - Diff between revs 732 and 783

Only display areas with differences | Details | Blame | View Log

Rev 732 Rev 783
.Dd February 15, 2008
.Dd February 15, 2008
.Dt FFI 3
.Dt FFI 3
.Sh NAME
.Sh NAME
.Nm FFI
.Nm FFI
.Nd Foreign Function Interface
.Nd Foreign Function Interface
.Sh LIBRARY
.Sh LIBRARY
libffi, -lffi
libffi, -lffi
.Sh SYNOPSIS
.Sh SYNOPSIS
.In ffi.h
.In ffi.h
.Ft ffi_status
.Ft ffi_status
.Fo ffi_prep_cif
.Fo ffi_prep_cif
.Fa "ffi_cif *cif"
.Fa "ffi_cif *cif"
.Fa "ffi_abi abi"
.Fa "ffi_abi abi"
.Fa "unsigned int nargs"
.Fa "unsigned int nargs"
.Fa "ffi_type *rtype"
.Fa "ffi_type *rtype"
.Fa "ffi_type **atypes"
.Fa "ffi_type **atypes"
.Fc
.Fc
.Ft void
.Ft void
.Fo ffi_call
.Fo ffi_call
.Fa "ffi_cif *cif"
.Fa "ffi_cif *cif"
.Fa "void (*fn)(void)"
.Fa "void (*fn)(void)"
.Fa "void *rvalue"
.Fa "void *rvalue"
.Fa "void **avalue"
.Fa "void **avalue"
.Fc
.Fc
.Sh DESCRIPTION
.Sh DESCRIPTION
The foreign function interface provides a mechanism by which a function can
The foreign function interface provides a mechanism by which a function can
generate a call to another function at runtime without requiring knowledge of
generate a call to another function at runtime without requiring knowledge of
the called function's interface at compile time.
the called function's interface at compile time.
.Sh SEE ALSO
.Sh SEE ALSO
.Xr ffi_prep_cif 3 ,
.Xr ffi_prep_cif 3 ,
.Xr ffi_call 3
.Xr ffi_call 3
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.