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++ Language Reference - errno http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                               errno

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

 E2BIG                                                             _
Argument list too long. (Argument list exceeds 128 bytes.)

 EACCES                                                            _
Permission denied. (E.g. writing to a file opened for read only.)

 EBADF                                                             _
Bad file descriptor.

 EDOM                                                              _
Math argument out of domain.

 EEXIST                                                            _
File exists.

 EMFILE                                                            _
Too many open files.

 ENOENT                                                            _
No such file or directory.

 ENOEXEC                                                           _
Exec format error.

 ENOMEM                                                            _
Not enough core. (E.g. not enough memory for exec function.)

 ENOTDIR                                                           _
Path not found.

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

Usage
extern int errno;
See perror

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