libffi, -lffi The foreign function interface provides a mechanismby which a function can generate a call to another function at runtime without requiring knowledge of the called function's interface at compile time.