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.

How to get the errno of an IOError?

C has perror and errno, which print and store the last error encountered. This is convenient when doing file io …

python exception errno ioerror
Unable to run Protractor - ECONNREFUSED connect ECONNREFUSED

I'm trying to learn AngularJS. As part of this, I want to learn to use end-to-end testing. Currently, I have …

angularjs debugging webdriver protractor errno
C fopen fails for write with errno is 2

I do not understand why this is seemingly failing with errno of 2: char debugText [256]; sprintf (debugText, "C:\\List.txt"); dfile = …

c fopen errno
How to check the value of errno?

I am using a system call and in case it fails, I need to do different things for different errnos. …

c system-calls errno
How to set errno value?

I have two calls to two different methods : void func1() { // do something if (fail) { // then set errno to EEXIST } } And …

c linux error-handling errno
How to convert errno in UNIX to corresponding string?

Is there any function in UNIX to the convert errno to its corresponding string for e.g. EIDRM to "EIDRM". …

unix errno
Python ConnectionRefusedError: [Errno 61] Connection refused

Ive seen similar questions but they I couldn't fix this error. Me and my friend are making a chat program …

python sockets errno
Redirect perror output to fprintf(stderr, " ")

In case a system call function fails, we normally use perror to output the error message. I want to use …

c stderr errno
Socket bind failed errno = 99

I'm trying to bind the server socket so I can receive and listen for incoming messages from other clients. But …

linux sockets errno
Python [Errno 13] Permission denied:

I'm attempting to write a quick python script to iterate through all csv files in the current folder and remove …

python csv errno