APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ

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 https://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.
 

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) ?




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)




FAQ



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode


SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com