Coda Distributed File System
Macros | Functions
errors.h File Reference
#include <errno.h>
Include dependency graph for errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RPC2_ERRBASE   500
 
#define VREADONLY   EROFS /* Attempt to write to a read-only volume */
 
#define VDISKFULL   ENOSPC /* Partition is full */
 
#define EWOULDBLOCK   EAGAIN /* Operation would block */
 
#define EPERM   (RPC2_ERRBASE+1) /* Operation not permitted */
 
#define ENOENT   (RPC2_ERRBASE+2) /* No such file or directory */
 
#define ESRCH   (RPC2_ERRBASE+3) /* No such process */
 
#define EINTR   (RPC2_ERRBASE+4) /* Interrupted system call */
 
#define EIO   (RPC2_ERRBASE+5) /* Input/output error */
 
#define ENXIO   (RPC2_ERRBASE+6) /* Device not configured */
 
#define E2BIG   (RPC2_ERRBASE+7) /* Argument list too long */
 
#define ENOEXEC   (RPC2_ERRBASE+8) /* Exec format error */
 
#define EBADF   (RPC2_ERRBASE+9) /* Bad file descriptor */
 
#define ECHILD   (RPC2_ERRBASE+10) /* No child processes */
 
#define EDEADLK   (RPC2_ERRBASE+11) /* Resource deadlock avoided */
 
#define ENOMEM   (RPC2_ERRBASE+12) /* Cannot allocate memory */
 
#define EACCES   (RPC2_ERRBASE+13) /* Permission denied */
 
#define EFAULT   (RPC2_ERRBASE+14) /* Bad address */
 
#define ENOTBLK   (RPC2_ERRBASE+15) /* Not a block device */
 
#define EBUSY   (RPC2_ERRBASE+16) /* Device busy */
 
#define EEXIST   (RPC2_ERRBASE+17) /* File exists */
 
#define EXDEV   (RPC2_ERRBASE+18) /* Cross-device link */
 
#define ENODEV   (RPC2_ERRBASE+19) /* Operation not supported by device */
 
#define ENOTDIR   (RPC2_ERRBASE+20) /* Not a directory */
 
#define EISDIR   (RPC2_ERRBASE+21) /* Is a directory */
 
#define EINVAL   (RPC2_ERRBASE+22) /* Invalid argument */
 
#define ENFILE   (RPC2_ERRBASE+23) /* Too many open files in system */
 
#define EMFILE   (RPC2_ERRBASE+24) /* Too many open files */
 
#define ENOTTY   (RPC2_ERRBASE+25) /* Inappropriate ioctl for device */
 
#define ETXTBSY   (RPC2_ERRBASE+26) /* Text file busy */
 
#define EFBIG   (RPC2_ERRBASE+27) /* File too large */
 
#define ENOSPC   (RPC2_ERRBASE+28) /* No space left on device */
 
#define ESPIPE   (RPC2_ERRBASE+29) /* Illegal seek */
 
#define EROFS   (RPC2_ERRBASE+30) /* Read-only file system */
 
#define EMLINK   (RPC2_ERRBASE+31) /* Too many links */
 
#define EPIPE   (RPC2_ERRBASE+32) /* Broken pipe */
 
#define EDOM   (RPC2_ERRBASE+33) /* Numerical argument out of domain */
 
#define ERANGE   (RPC2_ERRBASE+34) /* Result too large */
 
#define EAGAIN   (RPC2_ERRBASE+35) /* Resource temporarily unavailable */
 
#define EALREADY   (RPC2_ERRBASE+37) /* Operation already in progress */
 
#define ENOSYS   (RPC2_ERRBASE+38) /* Function not implemented */
 
#define EPROTONOSUPPORT   (RPC2_ERRBASE+43) /* Protocol not supported */
 
#define EOPNOTSUPP   (RPC2_ERRBASE+45) /* Operation not supported */
 
#define ENOBUFS   (RPC2_ERRBASE+55) /* No buffer space available */
 
#define ENOTCONN   (RPC2_ERRBASE+57) /* Socket is not connected */
 
#define ESHUTDOWN   (RPC2_ERRBASE+58) /* Can't send after socket shutdown */
 
#define ETOOMANYREFS   (RPC2_ERRBASE+59) /* Too many references: can't splice */
 
#define ETIMEDOUT   (RPC2_ERRBASE+60) /* Operation timed out */
 
#define ELOOP   (RPC2_ERRBASE+62) /* Too many levels of symbolic links */
 
#define ENAMETOOLONG   (RPC2_ERRBASE+63) /* File name too long */
 
#define ENOTEMPTY   (RPC2_ERRBASE+66) /* Directory not empty */
 
#define EDQUOT   (RPC2_ERRBASE+69) /* Disc quota exceeded */
 
#define VSALVAGE   (RPC2_ERRBASE+101) /* Volume needs salvage */
 
#define VNOVNODE   (RPC2_ERRBASE+102) /* Bad vnode number quoted */
 
#define VNOVOL   (RPC2_ERRBASE+103) /* Volume does not exist or not online */
 
#define VVOLEXISTS   (RPC2_ERRBASE+104) /* Volume already exists */
 
#define VNOSERVICE   (RPC2_ERRBASE+105) /* Volume is not in service */
 
#define VOFFLINE   (RPC2_ERRBASE+106) /* Volume is off line */
 
#define VONLINE   (RPC2_ERRBASE+107) /* Volume is already on line */
 
#define VBUSY   (RPC2_ERRBASE+110) /* Volume temporarily unavailable */
 
#define VMOVED   (RPC2_ERRBASE+111) /* Volume has moved */
 
#define VNOSERVER   (RPC2_ERRBASE+112) /* File server lwp is not running */
 
#define VLOGSTALE   (RPC2_ERRBASE+113) /* CML head previously reintegrated */
 
#define EVOLUME   (RPC2_ERRBASE+158) /* Volume error */
 
#define EINCOMPATIBLE   (RPC2_ERRBASE+198) /* Version vectors are incompatible */
 
#define EINCONS   (RPC2_ERRBASE+199) /* File is inconsistent */
 
#define VFAIL   (RPC2_ERRBASE+200) /* Unknown Coda error */
 
#define CAENOSUCHUSER   (RPC2_ERRBASE+302) /* Advice Monitor attempted to connect on behalf of an unknown user */
 
#define CAENOTVALID   (RPC2_ERRBASE+303) /* Advice Monitor attempted to test liveness of an invalid connection */
 
#define CAENOASR   (RPC2_ERRBASE+304) /* Advice Monitor returned the result of an ASR, but not ASR is pending */
 
#define CAEUNEXPECTEDASR   (RPC2_ERRBASE+305) /* Advice Monitor returned the result of the wrong ASR */
 
#define CAEADVICEPENDING   (RPC2_ERRBASE+307) /* Advice Monitor requested a new connection while a request is pending */
 
#define CAENOSERVERS   (RPC2_ERRBASE+308) /* No servers are known to Venus */
 

Functions

const char * cerror (int err)
 

Macro Definition Documentation

◆ CAEADVICEPENDING

#define CAEADVICEPENDING   (RPC2_ERRBASE+307) /* Advice Monitor requested a new connection while a request is pending */

◆ CAENOASR

#define CAENOASR   (RPC2_ERRBASE+304) /* Advice Monitor returned the result of an ASR, but not ASR is pending */

◆ CAENOSERVERS

#define CAENOSERVERS   (RPC2_ERRBASE+308) /* No servers are known to Venus */

◆ CAENOSUCHUSER

#define CAENOSUCHUSER   (RPC2_ERRBASE+302) /* Advice Monitor attempted to connect on behalf of an unknown user */

◆ CAENOTVALID

#define CAENOTVALID   (RPC2_ERRBASE+303) /* Advice Monitor attempted to test liveness of an invalid connection */

◆ CAEUNEXPECTEDASR

#define CAEUNEXPECTEDASR   (RPC2_ERRBASE+305) /* Advice Monitor returned the result of the wrong ASR */

◆ E2BIG

#define E2BIG   (RPC2_ERRBASE+7) /* Argument list too long */

◆ EACCES

#define EACCES   (RPC2_ERRBASE+13) /* Permission denied */

◆ EAGAIN

#define EAGAIN   (RPC2_ERRBASE+35) /* Resource temporarily unavailable */

◆ EALREADY

#define EALREADY   (RPC2_ERRBASE+37) /* Operation already in progress */

◆ EBADF

#define EBADF   (RPC2_ERRBASE+9) /* Bad file descriptor */

◆ EBUSY

#define EBUSY   (RPC2_ERRBASE+16) /* Device busy */

◆ ECHILD

#define ECHILD   (RPC2_ERRBASE+10) /* No child processes */

◆ EDEADLK

#define EDEADLK   (RPC2_ERRBASE+11) /* Resource deadlock avoided */

◆ EDOM

#define EDOM   (RPC2_ERRBASE+33) /* Numerical argument out of domain */

◆ EDQUOT

#define EDQUOT   (RPC2_ERRBASE+69) /* Disc quota exceeded */

◆ EEXIST

#define EEXIST   (RPC2_ERRBASE+17) /* File exists */

◆ EFAULT

#define EFAULT   (RPC2_ERRBASE+14) /* Bad address */

◆ EFBIG

#define EFBIG   (RPC2_ERRBASE+27) /* File too large */

◆ EINCOMPATIBLE

#define EINCOMPATIBLE   (RPC2_ERRBASE+198) /* Version vectors are incompatible */

◆ EINCONS

#define EINCONS   (RPC2_ERRBASE+199) /* File is inconsistent */

◆ EINTR

#define EINTR   (RPC2_ERRBASE+4) /* Interrupted system call */

◆ EINVAL

#define EINVAL   (RPC2_ERRBASE+22) /* Invalid argument */

◆ EIO

#define EIO   (RPC2_ERRBASE+5) /* Input/output error */

◆ EISDIR

#define EISDIR   (RPC2_ERRBASE+21) /* Is a directory */

◆ ELOOP

#define ELOOP   (RPC2_ERRBASE+62) /* Too many levels of symbolic links */

◆ EMFILE

#define EMFILE   (RPC2_ERRBASE+24) /* Too many open files */

◆ EMLINK

#define EMLINK   (RPC2_ERRBASE+31) /* Too many links */

◆ ENAMETOOLONG

#define ENAMETOOLONG   (RPC2_ERRBASE+63) /* File name too long */

◆ ENFILE

#define ENFILE   (RPC2_ERRBASE+23) /* Too many open files in system */

◆ ENOBUFS

#define ENOBUFS   (RPC2_ERRBASE+55) /* No buffer space available */

◆ ENODEV

#define ENODEV   (RPC2_ERRBASE+19) /* Operation not supported by device */

◆ ENOENT

#define ENOENT   (RPC2_ERRBASE+2) /* No such file or directory */

◆ ENOEXEC

#define ENOEXEC   (RPC2_ERRBASE+8) /* Exec format error */

◆ ENOMEM

#define ENOMEM   (RPC2_ERRBASE+12) /* Cannot allocate memory */

◆ ENOSPC

#define ENOSPC   (RPC2_ERRBASE+28) /* No space left on device */

◆ ENOSYS

#define ENOSYS   (RPC2_ERRBASE+38) /* Function not implemented */

◆ ENOTBLK

#define ENOTBLK   (RPC2_ERRBASE+15) /* Not a block device */

◆ ENOTCONN

#define ENOTCONN   (RPC2_ERRBASE+57) /* Socket is not connected */

◆ ENOTDIR

#define ENOTDIR   (RPC2_ERRBASE+20) /* Not a directory */

◆ ENOTEMPTY

#define ENOTEMPTY   (RPC2_ERRBASE+66) /* Directory not empty */

◆ ENOTTY

#define ENOTTY   (RPC2_ERRBASE+25) /* Inappropriate ioctl for device */

◆ ENXIO

#define ENXIO   (RPC2_ERRBASE+6) /* Device not configured */

◆ EOPNOTSUPP

#define EOPNOTSUPP   (RPC2_ERRBASE+45) /* Operation not supported */

◆ EPERM

#define EPERM   (RPC2_ERRBASE+1) /* Operation not permitted */

◆ EPIPE

#define EPIPE   (RPC2_ERRBASE+32) /* Broken pipe */

◆ EPROTONOSUPPORT

#define EPROTONOSUPPORT   (RPC2_ERRBASE+43) /* Protocol not supported */

◆ ERANGE

#define ERANGE   (RPC2_ERRBASE+34) /* Result too large */

◆ EROFS

#define EROFS   (RPC2_ERRBASE+30) /* Read-only file system */

◆ ESHUTDOWN

#define ESHUTDOWN   (RPC2_ERRBASE+58) /* Can't send after socket shutdown */

◆ ESPIPE

#define ESPIPE   (RPC2_ERRBASE+29) /* Illegal seek */

◆ ESRCH

#define ESRCH   (RPC2_ERRBASE+3) /* No such process */

◆ ETIMEDOUT

#define ETIMEDOUT   (RPC2_ERRBASE+60) /* Operation timed out */

◆ ETOOMANYREFS

#define ETOOMANYREFS   (RPC2_ERRBASE+59) /* Too many references: can't splice */

◆ ETXTBSY

#define ETXTBSY   (RPC2_ERRBASE+26) /* Text file busy */

◆ EVOLUME

#define EVOLUME   (RPC2_ERRBASE+158) /* Volume error */

◆ EWOULDBLOCK

#define EWOULDBLOCK   EAGAIN /* Operation would block */

◆ EXDEV

#define EXDEV   (RPC2_ERRBASE+18) /* Cross-device link */

◆ RPC2_ERRBASE

#define RPC2_ERRBASE   500

◆ VBUSY

#define VBUSY   (RPC2_ERRBASE+110) /* Volume temporarily unavailable */

◆ VDISKFULL

#define VDISKFULL   ENOSPC /* Partition is full */

◆ VFAIL

#define VFAIL   (RPC2_ERRBASE+200) /* Unknown Coda error */

◆ VLOGSTALE

#define VLOGSTALE   (RPC2_ERRBASE+113) /* CML head previously reintegrated */

◆ VMOVED

#define VMOVED   (RPC2_ERRBASE+111) /* Volume has moved */

◆ VNOSERVER

#define VNOSERVER   (RPC2_ERRBASE+112) /* File server lwp is not running */

◆ VNOSERVICE

#define VNOSERVICE   (RPC2_ERRBASE+105) /* Volume is not in service */

◆ VNOVNODE

#define VNOVNODE   (RPC2_ERRBASE+102) /* Bad vnode number quoted */

◆ VNOVOL

#define VNOVOL   (RPC2_ERRBASE+103) /* Volume does not exist or not online */

◆ VOFFLINE

#define VOFFLINE   (RPC2_ERRBASE+106) /* Volume is off line */

◆ VONLINE

#define VONLINE   (RPC2_ERRBASE+107) /* Volume is already on line */

◆ VREADONLY

#define VREADONLY   EROFS /* Attempt to write to a read-only volume */

◆ VSALVAGE

#define VSALVAGE   (RPC2_ERRBASE+101) /* Volume needs salvage */

◆ VVOLEXISTS

#define VVOLEXISTS   (RPC2_ERRBASE+104) /* Volume already exists */

Function Documentation

◆ cerror()

const char * cerror ( int  err)