I wouldn't do that if I were you. The manual says fcntl() can be a
macro, and you can't call a macro from an FFI.
On 9/22/16 15:12 , Mariano Martinez Peck wrote:
I am wondering if I can wrap some variadic functions (with optional
arguments) with UFFI. Is this possible? If true, how so? For my
particular use case, I am checking if I can call fcntl()
which has a third optional argument.
Thanks in advance,