just curious, why not use the functions from ffi.C ?