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.

IOError: [Errno 22] invalid mode ('w') or filename

I am getting this error thrown when trying to make a file. It is being designed to take a created .…

python python-2.7 errno
Default value of errno variable

I want to use the errno library in order to define the return of a project (c language) functions. And …

c errno
Python urllib2 and [errno 10054] An existing connection was forcibly closed by the remote host and a few urllib2 problems

I've written a crawler that uses urllib2 to fetch URLs. every few requests I get some weird behaviors, I've tried …

python exception web-crawler urllib2 errno
Python urlopen connection aborted - urlopen error [Errno 10053]

I have some code that uses mechanize and beautifulsoup for web scraping some data. The code works fine on a …

python proxy mechanize web-scraping errno
Is there a way to use errno safely in a multi-threaded application?

If you are writing a multi-threaded application that uses system/library calls that make use of errno to indicate the …

c errno
How to set errno in Linux device driver?

I am designing a Linux character device driver. I want to set errno when error occurs in ioctl() system call. …

linux driver device-driver ioctl errno
How do I get the error code from pthread_join()?

The following code fails to join pthreads and the message "join failed" is printed. How do I get more information …

c multithreading pthreads errno pthread-join
How can I print the symbolic name of an errno in C?

I can use perror() or strerror() to print the "human readable" error message belonging to an errno, but what if …

c printf errno strerror