Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>errno</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
errno
=====

Syntax
------

     #include <errno.h>
     
     extern int errno;

Description
-----------

This variable is used to hold the value of the error of the last
function call.  The value might be one of the following:

`0'
     No Error

`1'
     EDOM - Input to function out of range

`2'
     ERANGE - Output of function out of range

`3'
     E2BIG - Argument list too long

`4'
     EACCES - Permission denied

`5'
     EAGAIN - Resource temporarily unavailable

`6'
     EBADF - Bad file descriptor

`7'
     EBUSY - Resource busy

`8'
     ECHILD - No child processes

`9'
     EDEADLK - Resource deadlock avoided

`10'
     EEXIST - File exists

`11'
     EFAULT - Bad address

`12'
     EFBIG - File too large

`13'
     EINTR - Interrupted system call

`14'
     EINVAL - Invalid argument

`15'
     EIO - Input or output

`16'
     EISDIR - Is a directory

`17'
     EMFILE - Too many open files

`18'
     EMLINK - Too many links

`19'
     ENAMETOOLONG - File name too long

`20'
     ENFILE - Too many open files in system

`21'
     ENODEV - No such device

`22'
     ENOENT - No such file or directory

`23'
     ENOEXEC - Unable to execute file

`24'
     ENOLCK - No locks available

`25'
     ENOMEM - Not enough memory

`26'
     ENOSPC - No space left on drive

`27'
     ENOSYS - Function not implemented

`28'
     ENOTDIR - Not a directory

`29'
     ENOTEMPTY - Directory not empty

`30'
     ENOTTY - Inappropriate I/O control operation

`31'
     ENXIO - No such device or address

`32'
     EPERM - Operation not permitted

`33'
     EPIPE - Broken pipe

`34'
     EROFS - Read-only file system

`35'
     ESPIPE - Invalid seek

`36'
     ESRCH - No such process

`37'
     EXDEV - Improper link

`38'
     ENMFILE - No more files

perror:.   


See Also: perror

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson