On Tue, 17 Feb 2015, Keith Conger wrote:

I did hand patch epoll_create1() into bionic.  The above was a logcat,
how do I get the errno value?

Immediately after any failed POSIX call, the errno global variable (an integer) is set. Just include the errno.h header in the file making the failed call to get access to the errno variable. You can see how the logcat message is being generated in that same file (usually via a system() call to "logcat" or a C++ stream to LOG(INFO) or whatever.

Andrew

Reply via email to