However above values are mainly used in sendmail and used by pretty much nobody else, so they aren't anything remotely close to a standard (as pointed by @Gilles). What would have happened to the world if the sepoy mutiny of 1857 had suceeded? Macro: int ENOPROTOOPT You specified a socket option that doesn’t make sense for the particular protocol being used by the socket. commands are intended for users. have a peek here
Macro: int EDESTADDRREQ No default destination address was set for the socket. Abigail[reply] Re^2: List standard Unix error codes by Anonymous Monk on May 26, 2009 at 15:18UTC Re: List standard Unix error codes by belg4mit (Prior) on Jul 16, 2003 at 20:12UTC Typically, this error occurs when you are trying to delete a directory. A list of signals can be found in the signal man page (run "man signal"). http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Errors/unix_system_errors.html
In BSD and GNU, the number of open files is controlled by a resource limit that can usually be increased. See Limits on Resources, for details on the RLIMIT_NPROC limit. Running the C-shell or tcsh may give different values in some cases.
You can't even depend on that being the actual Unix error, but even if it is, what does it mean? Attempts to manipulate the object before the call completes return EALREADY. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Linux Errno To String BSD systems return this if you try to open a pty device that is already in use.
perror function prints error description in standard error. Posix Error Codes Or might not. See Socket Addresses. Macro: int EAGAIN Resource temporarily unavailable; the call might work if you try again later.
The author of this document proposes restricting user-defined exit codes to the range 64 - 113 (in addition to 0, for success), to conform with the C/C++ standard. Ebadf This article might be a handy reference for you, when you encounter an error number and you would like to know what it means. In any of these cases, they exit 0 despite failing. Hence please send me this list asap.
All rights reserved | Terms of Service current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. navigate here share|improve this answer edited Jan 24 '14 at 10:28 answered Jan 22 '14 at 7:46 chaos 27.6k65195 yeah some man, info, ... Depending on your platform, this or EACESS may be returned by fcntl() when it cannot grant a lock you have requested. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Errno.h In C
there exists an obscure file type which is an on-disk representation of a Xenix Shared Data memory segment. Thus, your program will never actually see EPIPE unless it has handled or blocked SIGPIPE. Bash and it's builtins may use values above 125 specially. 127 for command not found, 126 for command not executable. Check This Out For example, if you, as an ordinary user, call the "setuid()" function trying to change to someone else's ID, it will fail and EPERM will be returned.
Every library function that returns this error code also generates a SIGPIPE signal; this signal terminates the program if not handled or blocked. Errno 0 However the thing that comes closest to a "standardization" is errno.h share|improve this answer answered Jan 22 '14 at 7:35 Thorsten Staerk 1,606517 thanks for pointing the header file.. The system tried to use the device represented by a file you specified, and it couldn’t find the device.
However, for other applications, there are different exit codes. invalid for this operation77File descriptor in bad state81f.d. The file was the wrong type for the operation, or a data file had the wrong format. Enoexec Browse other questions tagged linux exit-code or ask your own question.
Third: The exit statuses of the shell, for example bash. fork can return this error. The plock() function ( which locks areas of a process into memory) returns this if you attempt to use it twice on the same memory segment. this contact form All Rights Reserved.
Then the expr command gives 1 for sucess unless the output is the empty string or zero, in which case, 0 is sucess. 2 and 3 are failure. for a discussion about trying to solve such a problem. #define ENOMEM 12 /* Out of memory */ (Linux) #define ENOMEM 12 /* Not enough space */ (SCO Unix) If you Interestingly, some Unixes don't have this at all: Unixware, for example returns different errors. #define EFBIG 27 /* File too large */ You've tried to extend a file byond the maximum Please note that out of range exit values can result in unexpected exit codes (e.g.
Last edited by RTM; 05-27-2005 at 09:30 AM.. Unfortunately, those files are only a little bit more illuminating than the numeric errors themselves. An open of /dev/tty when the process has no controlling tty will spit back EIO also. #define ENXIO 6 /* No such device or address */ This can be the result However, most of that kind of thing is esoteric detail of concern only to programmers working on multiple platforms.Even where the error numbers and the symbolic constants are the same, the
I want error code list for SCO UNIX (UnixWare 7.1.0) My Email Id is Cheers, Maharaj. It may also be returned if I/O is attempted on a sub-device of a driver that does not exist (for example, a tape device that has not been defined in the