Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - the following errors can be generated by the c run-time library. these http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The following errors can be generated by the C run-time library.  These
error codes correspond to the error types defined in ERRNO.H.


ENOENT
     No such file or directory

    The specified file or directory cannot be found.

E2BIG
     Argument list too big

    The argument list passed to the spawn..., exec...  or system functions
    requires more than 128 bytes, or the environment information exceeds
    32K.

ENOEXEC
     Exec format error

    The executable file has an invalid format.

EBADF
     Bad file number

    The file handle is not a valid file handle value or it does not
    correspond to an open file.

ENOMEM
     Not enough memory

    There was not enough memory available to perform the specified request.

EACCES
     Permission denied

    You do not have the required (or correct) permissions to access a file.

EEXIST
     File exists

    An attempt was made to create a file with the O_EXCL (exclusive) flag
    when the file already exists.

EXDEV
     Cross-device link

    An attempt was made to rename a file to a different device.

EINVAL
     Invalid argument

    An invalid value was specified for one of the arguments to a function.

ENFILE
     File table overflow

    All the FILE structures are in use, so no more files can be opened.

EMFILE
     Too many open files

    There are no more file handles available, so no more files can be
    opened.  The maximum number of file handles available is controlled by
    the "FILES=" option in the "CONFIG.SYS" file.

ENOSPC
     No space left on device

    No more space is left for writing on the device, which usually means
    that the disk is full.

EDOM
     Argument too large

    An argument to a math function is not in the domain of the function.

ERANGE
     Result too large

    The result of a math function could not be represented (too small, or
    too large).

EDEADLK
     Resource deadlock would occur

    A resource deadlock would occur with regards to locked files.

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