# # (SCO Unix) What does Error 5 mean (or any Error xx) ?
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

What does "Error 5" mean (or any "Error xx") ?

If that came from an application program, you might have to ask whoever wrote the program. However, if they are just showing you system error codes, or the error is coming from a system command, you can look in /usr/include/sys/errno.h to find an English translation. These errors are pretty standard across Unix/Linux systems, though where you'll find the list varies: on Linux, you can get it from "man errno".

See also http://aplawrence.com/Unixart/errors.html, where you would find this and more:

#define EIO 5 /* I/O error */ 

The catchall for all manner of unexpected
hardware errors. It could be from a physical
error, but additionally, an orphaned process
(a process whose parent has died) that attempts
to read from standard input will get this. BSD
systems return this if you try to open a pty
device that is already in use. An attempt to read
from a stream that is closed will return EIO,
as will a disk read or write that is outside
of the physical bounds of the device. An open
of /dev/tty when the process has no controlling
tty will spit back EIO also.
 

If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> (SCO Unix) What does Error 5 mean (or any Error xx) ?


Inexpensive and informative Apple related e-books:

Take Control of iCloud, Fifth Edition

Take Control of OS X Server

Take Control of Numbers

iOS 8: A Take Control Crash Course

Sierra: A Take Control Crash Course






Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





C++: NSStringWithoutYourMothersHatButWithNiceCandyFrosting - aargh! (Tony Lawrence)




Linux posts

Troubleshooting posts


This post tagged:

FAQ



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode