home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
unix
/
unixlib36d
/
clib
/
h
/
errno
< prev
next >
Wrap
Text File
|
1994-02-26
|
1KB
|
62 lines
/* errno.h (c) Copyright 1990 H.Rogers */
#ifndef __ERRNO_H
#define __ERRNO_H
#ifdef __cplusplus
extern "C" {
#endif
#define errno __errno
extern volatile int errno;
extern char *sys_errlist[];
extern int sys_nerr;
extern char *strerror(int);
#define ENOENT 1
#define ESRCH 2
#define EINTR 3
#define ENXIO 4
#define E2BIG 5
#define ENOEXEC 6
#define EBADF 7
#define ECHILD 8
#define EAGAIN 9
#define ENOMEM 10
#define EACCES 11
#define EFAULT 12
#define ENOTBLK 13
#define EBUSY 14
#define EEXIST 15
#define EXDEV 16
#define ENODEV 17
#define ENOTDIR 18
#define EISDIR 19
#define EINVAL 20
#define ENFILE 21
#define EMFILE 22
#define ENOTTY 23
#define ETXTBSY 24
#define EFBIG 25
#define ENOSPC 26
#define ESPIPE 27
#define EROFS 28
#define EMLINK 29
#define EPIPE 30
#define EDOM 31
#define ERANGE 32
#define EPERM 33
#define EIO 34
#define ESIG 35
#define EOS 36
#define EWOULDBLOCK 37
#define EINPROGRESS 38
#define EALREADY 39
#ifdef __cplusplus
}
#endif
#endif