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

   This variable will be assigned error numbers after using certain library
   functions, if errors occur. Below is a list of the defined constants for
   errno, together with the error messages that are returned by the perror
   function for each constant.


   Constant         Meaning
   --------------------------------------------------------------------------

   E2BIG            Either the argument list, or the space required for the
                    environment information exceeds the system limit.

   EACCES           Permission to access the file or a directory on the path
                    prefix has been denied, or the specified file has a
                    locking or sharing violation.

   EBADF            The file specifier used is not a valid open file

                    descriptor.

   EDEADLK          The file is locked and the retry limit has been exceeded.

   EDOM             A math argument is out of DOMAIN.

   EEXIST           The named file already exists.

   EMFILE           The number of open files would exceed the system limit.

   ENOENT           A path argument points to a null path name. The file or
                    path name cannot be found.

   ENOEXEC          The specified file is not executable, or it has an invalid
                    executable file format.

   ENOLCK           There are no more record locks available because the
                    system maximum has been exceeded.

   ENOMEM           Not enough memory is available to carry out the requested

                    action.

   ENOTDIR          A component of the path prefix is not a directory.

   ERANGE           Result out of range (an argument to a math function is too
                    large).

   Usage

   extern int errno;

   See the library example for the perror function for a description of how
   these error messages are used.


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