skeeto / elisp-ffi

Emacs Lisp Foreign Function Interface

Repository from Github https://github.comskeeto/elisp-ffiRepository from Github https://github.comskeeto/elisp-ffi

errno?

remexre opened this issue · comments

Is there a way to access errno?

Would it make sense to add a bytecode command to return errno along with the return value? The problem with fetching errno afterwards with a function call is that it'd get trashed when the C++ program writes values back to emacs.