Top "Errno" questions

errno is an integer variable, which is set by system calls and some library functions in the event of an error to indicate what went wrong.

OSError's filename attribute unavailable?

I have the following code: except(OSError) as (errno, strerror, filename): print "OSError [%d]: %s at %s" % (errno, strerror, filename) …

python exception-handling errno
SO_ERROR vs. errno

For getting socket syscall (like recv) error, which is better (at performance level) ? Use the plain old errno Or use …

c sockets unix errno getsockopt
Why can't errno's value be printed?

I am looking at the following code in an SO "Low Quality" post to make sure the sample works, and …

c gdb errno
Protractor Process exited with error code 100

I'm trying to setup protractor on different computer. It is using the same files with my other computer (cannot be …

protractor webdriver errno
IOCTL call and checking return value

if((err = ioctl(fd, IOC_CARD_LOCK, &lock)) < 0) { printf("ioctl failed and returned errno %d \n",err); } Is …

ioctl errno
ValueError:PyCapsule_GetPointer called with incorrect name with <from PyQt5.QtWebEngineWidgets import QWebEnginePage>

This is already solved by myself but I put this question for someone else. I think this kind of problem …

anaconda pyqt5 python-3.6 spyder errno
Return Code on failure. Positive or negative?

a C-programm can fail to execute under special circumstances in Linux. Example: You allocate some space and the OS denies …

c linux return errno
Simple messaging application...getting errno 14: bad address

I am writing a simple messaging application in C using sockets. When I use function recvfrom, it returns -1 and …

c sockets errno
How to catch Errno::ECONNRESET class in "case when"?

My application (Ruby 1.9.2) may raise different exceptions, including net-connection breaks. I rescue Exception => e, then do case/when to …

ruby exception-handling case errno
Difference between Linux errno 23 and Linux errno 24

What is the difference between these 2 linux errors in errno.h? 23 and 24 I tried 2 different sites but can't understand difference …

c linux sockets error-code errno