Skip to content

What exactly is this liburing-ffi, how does one go about using it? #1060

Answered by ammarfaizi2
YoSTEALTH asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

What exactly is this liburing-ffi, how does one go about using it?

The README file in the repo has explained it:

FFI support
-----------

By default, the build results in 4 lib files:

    2 shared libs:

        liburing.so
        liburing-ffi.so

    2 static libs:

        liburing.a
        liburing-ffi.a

Languages and applications that can't use 'static inline' functions in
liburing.h should use the FFI variants.

liburing's main public interface lives in liburing.h as 'static inline'
functions. Users wishing to consume liburing purely as a binary dependency
should link against liburing-ffi. It contains definitions for every 'static
inline' function.

Is there some advantage…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ammarfaizi2
Comment options

@axboe
Comment options

@YoSTEALTH
Comment options

@cmazakas
Comment options

@YoSTEALTH
Comment options

Answer selected by YoSTEALTH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants