DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T e

⟦7d35fbd20⟧ TextFile

    Length: 5810 (0x16b2)
    Types: TextFile
    Notes: @(#)errno.h 13.2 (RC International) 91/03/21 */
    Names: »errno.h«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/include/sys/errno.h« 

TextFile

/*	@(#)errno.h	13.2 (RC International) 91/03/21	*/

#ifndef _ERRNO_H
#define _ERRNO_H

#ifdef LANGUAGE_C
extern int errno;
#endif

/*
 * errno.h -- kernel error codes returned to user programs
 */

#define	EPERM		1		/* Not owner */
#define	ENOENT		2		/* No such file or directory */
#define	ESRCH		3		/* No such process */
#define	EINTR		4		/* Interrupted system call */
#define	EIO		5		/* I/O error */
#define	ENXIO		6		/* No such device or address */
#define	E2BIG		7		/* Arg list too long */
#define	ENOEXEC		8		/* Exec format error */
#define	EBADF		9		/* Bad file number */
#define	ECHILD		10		/* No children */
#define	EUNUSED		11		/* Was old EAGAIN: No more processes */
#define	ENOMEM		12		/* Not enough memory */
#define	EACCES		13		/* Permission denied */
#define	EFAULT		14		/* Bad address */
#define	ENOTBLK		15		/* Block device required */
#define	EBUSY		16		/* Device busy */
#define	EEXIST		17		/* File exists */
#define	EXDEV		18		/* Cross-device link */
#define	ENODEV		19		/* No such device */
#define	ENOTDIR		20		/* Not a directory*/
#define	EISDIR		21		/* Is a directory */
#define	EINVAL		22		/* Invalid argument */
#define	ENFILE		23		/* File table overflow */
#define	EMFILE		24		/* Too many open files */
#define	ENOTTY		25		/* Inappropriate ioctl for device */
#define	ETXTBSY		26		/* Text file busy */
#define	EFBIG		27		/* File too large */
#define	ENOSPC		28		/* No space left on device */
#define	ESPIPE		29		/* Illegal seek */
#define	EROFS		30		/* Read-only file system */
#define	EMLINK		31		/* Too many links */
#define	EPIPE		32		/* Broken pipe */

/* math software */
#define	EDOM		33		/* Argument too large */
#define	ERANGE		34		/* Result too large */

/* non-blocking and interrupt i/o */
#define	EAGAIN		35		/* Resource temporarily unavailable */
#define EWOULDBLOCK	EAGAIN		/* Operation would block */
#define	EINPROGRESS	36		/* Operation now in progress */
#define	EALREADY	37		/* Operation already in progress */

/* ipc/network software */
	/* argument errors */
#define	ENOTSOCK	38		/* Socket operation on non-socket */
#define	EDESTADDRREQ	39		/* Destination address required */
#define	EMSGSIZE	40		/* Message too long */
#define	EPROTOTYPE	41		/* Protocol wrong type for socket */
#define	ENOPROTOOPT	42		/* Option not supported by protocol */
#define	EPROTONOSUPPORT	43		/* Protocol not supported */
#define	ESOCKTNOSUPPORT	44		/* Socket type not supported */
#define	EOPNOTSUPP	45		/* Operation not supported */
#define	EPFNOSUPPORT	46		/* Protocol family not supported */
#define	EAFNOSUPPORT	47		/* Address family not supported by protocol family */
#define	EADDRINUSE	48		/* Address already in use */
#define	EADDRNOTAVAIL	49		/* Can't assign requested address */

	/* operational errors */
#define	ENETDOWN	50		/* Network is down */
#define	ENETUNREACH	51		/* Network is unreachable */
#define	ENETRESET	52		/* Network dropped connection on reset */
#define	ECONNABORTED	53		/* Software caused connection abort */
#define	ECONNRESET	54		/* Connection reset by peer */
#define	ENOBUFS		55		/* No buffer space available */
#define	EISCONN		56		/* Socket is already connected */
#define	ENOTCONN	57		/* Socket is not connected */
#define	ESHUTDOWN	58		/* Can't send after socket shutdown */
#define	ETOOMANYREFS	59		/* Too many references: can't splice */
#define	ETIMEDOUT	60		/* Connection timed out */
#define	ECONNREFUSED	61		/* Connection refused */

/* */
#define	ELOOP		62		/* Too many levels of symbolic links */
#define	ENAMETOOLONG	63		/* File name too long */

/* should be rearranged */
	/* operational errors */
#define	EHOSTDOWN	64		/* Host is down */
#define	EHOSTUNREACH	65		/* No route to host */
/* */
#define	ENOTEMPTY	66		/* Directory not empty */

/* quotas & mush */
#define	EPROCLIM	67		/* Too many processes */
#define	EUSERS		68		/* Too many users */
#define	EDQUOT		69		/* Disc quota exceeded */

/* system V semaphores & ipc */
#define	ENOMSG		70		/* No message of desired type */
#define	EIDRM		71		/* Identifier removed */

/*
 * TX error codes
 */

#define	EDEADLOCK	72		/* Deadlock detected */
#define EDEADLK		EDEADLOCK	/* System V */
#define ETRAN		73		/* Not in a transaction */
#define EABORT		74		/* Transaction was aborted */
#define ENOTMATCH	75		/* Search criteria not matched */
#define EENDSEARCH	76		/* End of search for given criteria */
#define EINVALOP	77		/* Operation invalid - not performed */
#define ESUBPUDOWN	78		/* Sub-PU down */
#define EOPEN		79		/* File open more than once */
#define EREG		80		/* File not a regular file */
#define ECORRUPT	81		/* File system corrupted */
#define ERECOVERY	82		/* File system recovery failure */
#define EALLOC		83		/* Memory allocation failed */
#define EOVFL		84		/* Log overflow by this transaction */
#define ECLOSE		85		/* Terminal device closed */
#define EBADEXEC	86		/* Bad executable image */
#define EHOSTMODE	87		/* Terminal in host mode */
#define EDEADNAMI	88		/* Naming deadlock */
#define EINODE		89		/* No inodes left on file system */
#define	EPUDOWN		90		/* Destination PU is down */
#define	EPUUNREACH	91		/* Destination PU is unreachable */
#define EFILEOFFLINE	92		/* File cannot be reopened */
#define	EWRONGTYPE	93		/* Argument file has wrong type */
#define ENIPCTR		94		/* Not allowed in ipc transaction */
#define ETRCLOS		95		/* File opened inside transaction was not closed */
#define ECONSOLEDOWN	96		/* Console down */
#define ECONNINTR	97		/* Connection was interrupted */
#define ERETRY		98		/* Close not allowed before transaction done */
#define ENOFS		99		/* File system not reachable */

/* SystemV Record Locking */
#define ENOLCK          100             /* No locks available. */

/* X-OPEN, XPG Issue 3 */
#define	ENOSYS		101		/* Function not implemented */

#define ELAST		101		/* highest valid errno */

#endif /* _ERRNO_H */