home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
dice_466
/
dice206b.lzh
/
netdcc
/
include
/
errno.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-11-04
|
895b
|
39 lines
/*
* ERRNO.H
*
* (c)Copyright 1990, Matthew Dillon, All Rights Reserved
*/
#ifndef _ERRNO_H
#define _ERRNO_H
#ifndef _MATH_H
#define EDOM 1 /* repeated in errno.h */
#define ERANGE 2 /* repeated in errno.h */
#endif
#define EBADF 3 /* bad file descriptor */
#define ENOPERM 4 /* write on ro or read on wo desc */
#define ENOMEM 5 /* no memory ??? */
#define ENOFILE 6 /* open faileod */
#define ENOENT 6 /* ... synonym? */
#define EACCES 7 /* access disallowed */
#define EINVAL 8 /* invalid flags */
#define EMFILE 9 /* ran out of FDs */
#define EAGAIN 10
#define EPEER 11
#define EPIPE 12
#define ENOTFND 13
#define ESTACK 14 /* ran out of stack */
#define ENOTTY 15
#define ENXIO 16 /* lattice compat? */
#define EEXISTS 17 /* already exists */
extern volatile int errno;
#endif