Oh ok I see. I'll give it a try. Thanks, Keith
On Tue, Feb 17, 2015 at 3:18 PM, Andrew Henderson <[email protected]> wrote: > 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 -- Keith Conger keith DOT conger AT gmail DOT com http://thecongers.org -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
