217 lines
7.4 KiB
C
217 lines
7.4 KiB
C
/*
|
|
******************************************************************************
|
|
* HEADER FILE
|
|
*
|
|
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: errno.h,v $ $Revision: 1.1.1.1 $
|
|
* $Source: /home/interpeak/CVSRoot/ipxinc/include/sys/errno.h,v $
|
|
* $Author: lob $ $Date: 2004-08-19 08:55:27 $
|
|
* $State: Exp $ $Locker: $
|
|
*
|
|
* INTERPEAK_COPYRIGHT_STRING
|
|
* Design and implementation by Lennart Bang <lob@interpeak.se>
|
|
******************************************************************************
|
|
*/
|
|
#ifndef IP_SYS_ERRNO_H
|
|
#define IP_SYS_ERRNO_H
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 1 DESCRIPTION
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 2 CONFIGURATION
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include "ipcom_config.h"
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 3 INCLUDE FILES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#include "ipcom_errno.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 4 DEFINES
|
|
****************************************************************************
|
|
*/
|
|
|
|
#ifdef errno
|
|
#undef errno
|
|
#endif
|
|
#define errno ipcom_errno
|
|
|
|
|
|
/*
|
|
*===========================================================================
|
|
* ERRNO codes
|
|
*===========================================================================
|
|
*/
|
|
|
|
#define EPERM IP_ERRNO_EPERM
|
|
#define ENOENT IP_ERRNO_ENOENT
|
|
#define ESRCH IP_ERRNO_ESRCH
|
|
#define EINTR IP_ERRNO_EINTR
|
|
#define EIO IP_ERRNO_EIO
|
|
#define ENXIO IP_ERRNO_ENXIO
|
|
#define E2BIG IP_ERRNO_E2BIG
|
|
#define ENOEXEC IP_ERRNO_ENOEXEC
|
|
#define EBADF IP_ERRNO_EBADF
|
|
#define ECHILD IP_ERRNO_ECHILD
|
|
#define EAGAIN IP_ERRNO_EAGAIN
|
|
#define ENOMEM IP_ERRNO_ENOMEM
|
|
#define EACCES IP_ERRNO_EACCES
|
|
#define EFAULT IP_ERRNO_EFAULT
|
|
#define ENOTBLK IP_ERRNO_ENOTBLK
|
|
#define EBUSY IP_ERRNO_EBUSY
|
|
#define EEXIST IP_ERRNO_EEXIST
|
|
#define EXDEV IP_ERRNO_EXDEV
|
|
#define ENODEV IP_ERRNO_ENODEV
|
|
#define ENOTDIR IP_ERRNO_ENOTDIR
|
|
#define EISDIR IP_ERRNO_EISDIR
|
|
#define EINVAL IP_ERRNO_EINVAL
|
|
#define ENFILE IP_ERRNO_ENFILE
|
|
#define EMFILE IP_ERRNO_EMFILE
|
|
#define ENOTTY IP_ERRNO_ENOTTY
|
|
#define ETXTBSY IP_ERRNO_ETXTBSY
|
|
#define EFBIG IP_ERRNO_EFBIG
|
|
#define ENOSPC IP_ERRNO_ENOSPC
|
|
#define ESPIPE IP_ERRNO_ESPIPE
|
|
#define EROFS IP_ERRNO_EROFS
|
|
#define EMLINK IP_ERRNO_EMLINK
|
|
#define EPIPE IP_ERRNO_EPIPE
|
|
#define EDOM IP_ERRNO_EDOM
|
|
#define ERANGE IP_ERRNO_ERANGE
|
|
#define EDEADLK IP_ERRNO_EDEADLK
|
|
#define ENAMETOOLONG IP_ERRNO_ENAMETOOLONG
|
|
#define ENOLCK IP_ERRNO_ENOLCK
|
|
#define ENOSYS IP_ERRNO_ENOSYS
|
|
#define ENOTEMPTY IP_ERRNO_ENOTEMPTY
|
|
#define ELOOP IP_ERRNO_ELOOP
|
|
#define EWOULDBLOCK IP_ERRNO_EWOULDBLOCK
|
|
#define ENOMSG IP_ERRNO_ENOMSG
|
|
#define EIDRM IP_ERRNO_EIDRM
|
|
#define ECHRNG IP_ERRNO_ECHRNG
|
|
#define EL2NSYNC IP_ERRNO_EL2NSYNC
|
|
#define EL3HLT IP_ERRNO_EL3HLT
|
|
#define EL3RST IP_ERRNO_EL3RST
|
|
#define ELNRNG IP_ERRNO_ELNRNG
|
|
#define EUNATCH IP_ERRNO_EUNATCH
|
|
#define ENOCSI IP_ERRNO_ENOCSI
|
|
#define EL2HLT IP_ERRNO_EL2HLT
|
|
#define EBADE IP_ERRNO_EBADE
|
|
#define EBADR IP_ERRNO_EBADR
|
|
#define EXFULL IP_ERRNO_EXFULL
|
|
#define ENOANO IP_ERRNO_ENOANO
|
|
#define EBADRQC IP_ERRNO_EBADRQC
|
|
#define EBADSLT IP_ERRNO_EBADSLT
|
|
|
|
#define EDEADLOCK IP_ERRNO_EDEADLOCK
|
|
|
|
#define EBFONT IP_ERRNO_EBFONT
|
|
#define ENOSTR IP_ERRNO_ENOSTR
|
|
#define ENODATA IP_ERRNO_ENODATA
|
|
#define ETIME IP_ERRNO_ETIME
|
|
#define ENOSR IP_ERRNO_ENOSR
|
|
#define ENONET IP_ERRNO_ENONET
|
|
#define ENOPKG IP_ERRNO_ENOPKG
|
|
#define EREMOTE IP_ERRNO_EREMOTE
|
|
#define ENOLINK IP_ERRNO_ENOLINK
|
|
#define EADV IP_ERRNO_EADV
|
|
#define ESRMNT IP_ERRNO_ESRMNT
|
|
#define ECOMM IP_ERRNO_ECOMM
|
|
#ifdef IP_ERRNO_EPROTO
|
|
#define EPROTO IP_ERRNO_EPROTO
|
|
#endif
|
|
#define EMULTIHOP IP_ERRNO_EMULTIHOP
|
|
#define EDOTDOT IP_ERRNO_EDOTDOT
|
|
#define EBADMSG IP_ERRNO_EBADMSG
|
|
#define EOVERFLOW IP_ERRNO_EOVERFLOW
|
|
#define ENOTUNIQ IP_ERRNO_ENOTUNIQ
|
|
#define EBADFD IP_ERRNO_EBADFD
|
|
#define EREMCHG IP_ERRNO_EREMCHG
|
|
#define ELIBACC IP_ERRNO_ELIBACC
|
|
#define ELIBBAD IP_ERRNO_ELIBBAD
|
|
#define ELIBSCN IP_ERRNO_ELIBSCN
|
|
#define ELIBMAX IP_ERRNO_ELIBMAX
|
|
#define ELIBEXEC IP_ERRNO_ELIBEXEC
|
|
#define EILSEQ IP_ERRNO_EILSEQ
|
|
#define ERESTART IP_ERRNO_ERESTART
|
|
#define ESTRPIPE IP_ERRNO_ESTRPIPE
|
|
#define EUSERS IP_ERRNO_EUSERS
|
|
#define ENOTSOCK IP_ERRNO_ENOTSOCK
|
|
#define EDESTADDRREQ IP_ERRNO_EDESTADDRREQ
|
|
#define EMSGSIZE IP_ERRNO_EMSGSIZE
|
|
#define EPROTOTYPE IP_ERRNO_EPROTOTYPE
|
|
#define ENOPROTOOPT IP_ERRNO_ENOPROTOOPT
|
|
#define EPROTONOSUPPORT IP_ERRNO_EPROTONOSUPPORT
|
|
#define ESOCKTNOSUPPORT IP_ERRNO_ESOCKTNOSUPPORT
|
|
#define EOPNOTSUPP IP_ERRNO_EOPNOTSUPP
|
|
#define EPFNOSUPPORT IP_ERRNO_EPFNOSUPPORT
|
|
#define EAFNOSUPPORT IP_ERRNO_EAFNOSUPPORT
|
|
#define EADDRINUSE IP_ERRNO_EADDRINUSE
|
|
#define EADDRNOTAVAIL IP_ERRNO_EADDRNOTAVAIL
|
|
#define ENETDOWN IP_ERRNO_ENETDOWN
|
|
#define ENETUNREACH IP_ERRNO_ENETUNREACH
|
|
#define ENETRESET IP_ERRNO_ENETRESET
|
|
#define ECONNABORTED IP_ERRNO_ECONNABORTED
|
|
#define ECONNRESET IP_ERRNO_ECONNRESET
|
|
#define ENOBUFS IP_ERRNO_ENOBUFS
|
|
#define EISCONN IP_ERRNO_EISCONN
|
|
#define ENOTCONN IP_ERRNO_ENOTCONN
|
|
#define ESHUTDOWN IP_ERRNO_ESHUTDOWN
|
|
#define ETOOMANYREFS IP_ERRNO_ETOOMANYREFS
|
|
#define ETIMEDOUT IP_ERRNO_ETIMEDOUT
|
|
#define ECONNREFUSED IP_ERRNO_ECONNREFUSED
|
|
#define EHOSTDOWN IP_ERRNO_EHOSTDOWN
|
|
#define EHOSTUNREACH IP_ERRNO_EHOSTUNREACH
|
|
#define EALREADY IP_ERRNO_EALREADY
|
|
#define EINPROGRESS IP_ERRNO_EINPROGRESS
|
|
#define ESTALE IP_ERRNO_ESTALE
|
|
#define EUCLEAN IP_ERRNO_EUCLEAN
|
|
#define ENOTNAM IP_ERRNO_ENOTNAM
|
|
#define ENAVAIL IP_ERRNO_ENAVAIL
|
|
#define EISNAM IP_ERRNO_EISNAM
|
|
#define EREMOTEIO IP_ERRNO_EREMOTEIO
|
|
#define EDQUOT IP_ERRNO_EDQUOT
|
|
|
|
#define ENOMEDIUM IP_ERRNO_ENOMEDIUM
|
|
#define EMEDIUMTYPE IP_ERRNO_EMEDIUMTYPE
|
|
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 5 TYPES
|
|
****************************************************************************
|
|
*/
|
|
|
|
/*
|
|
****************************************************************************
|
|
* 6 FUNCTIONS
|
|
****************************************************************************
|
|
*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/*
|
|
****************************************************************************
|
|
* END OF FILE
|
|
****************************************************************************
|
|
*/
|