2017-10-15 22:30:05 +08:00
|
|
|
/*
|
2021-03-08 17:22:21 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2017-10-15 22:30:05 +08:00
|
|
|
*
|
2018-09-14 22:37:43 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-10-15 22:30:05 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2021-05-22 02:50:35 +08:00
|
|
|
* 2021-05-22 Meco Man The first version.
|
2017-10-15 22:30:05 +08:00
|
|
|
*/
|
2021-07-21 01:43:48 +08:00
|
|
|
#ifndef __SYS_ERRNO_H__
|
|
|
|
#define __SYS_ERRNO_H__
|
2018-12-27 09:11:07 +08:00
|
|
|
|
2021-06-13 17:16:03 +08:00
|
|
|
#if defined(__ARMCC_VERSION)
|
2018-12-27 09:11:07 +08:00
|
|
|
/*
|
|
|
|
defined in armcc/errno.h
|
|
|
|
|
|
|
|
#define EDOM 1
|
|
|
|
#define ERANGE 2
|
|
|
|
#define EILSEQ 4
|
|
|
|
#define ESIGNUM 3
|
|
|
|
#define EINVAL 5
|
|
|
|
#define ENOMEM 6
|
|
|
|
*/
|
2021-05-22 02:50:35 +08:00
|
|
|
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ERROR_BASE_NO 7
|
|
|
|
|
|
|
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
|
|
|
/* defined in iar/errno.h
|
|
|
|
#define EDOM 33
|
|
|
|
#define ERANGE 34
|
|
|
|
#define EFPOS 35
|
|
|
|
#define EILSEQ 36
|
|
|
|
*/
|
|
|
|
#define ERROR_BASE_NO 36
|
|
|
|
|
2017-10-15 22:30:05 +08:00
|
|
|
#else
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ERROR_BASE_NO 0
|
|
|
|
#endif
|
|
|
|
|
2021-06-13 17:16:03 +08:00
|
|
|
#if defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__)
|
2021-05-22 02:50:35 +08:00
|
|
|
#include <errno.h>
|
2021-12-09 20:31:12 +08:00
|
|
|
|
|
|
|
#ifndef EPERM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPERM (ERROR_BASE_NO + 1)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOENT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOENT (ERROR_BASE_NO + 2)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESRCH
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESRCH (ERROR_BASE_NO + 3)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EINTR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EINTR (ERROR_BASE_NO + 4)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EIO
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EIO (ERROR_BASE_NO + 5)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENXIO
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENXIO (ERROR_BASE_NO + 6)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef E2BIG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define E2BIG (ERROR_BASE_NO + 7)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOEXEC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOEXEC (ERROR_BASE_NO + 8)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADF
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADF (ERROR_BASE_NO + 9)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECHILD
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECHILD (ERROR_BASE_NO + 10)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EAGAIN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EAGAIN (ERROR_BASE_NO + 11)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
2018-12-27 09:11:07 +08:00
|
|
|
|
|
|
|
#ifndef ENOMEM
|
|
|
|
#define ENOMEM (ERROR_BASE_NO + 12)
|
|
|
|
#endif
|
|
|
|
|
2021-12-09 20:31:12 +08:00
|
|
|
#ifndef EACCES
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EACCES (ERROR_BASE_NO + 13)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EFAULT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EFAULT (ERROR_BASE_NO + 14)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTBLK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTBLK (ERROR_BASE_NO + 15)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBUSY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBUSY (ERROR_BASE_NO + 16)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EEXIST
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EEXIST (ERROR_BASE_NO + 17)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXDEV
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EXDEV (ERROR_BASE_NO + 18)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENODEV
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENODEV (ERROR_BASE_NO + 19)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTDIR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTDIR (ERROR_BASE_NO + 20)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EISDIR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EISDIR (ERROR_BASE_NO + 21)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
2018-12-27 09:11:07 +08:00
|
|
|
|
|
|
|
#ifndef EINVAL
|
|
|
|
#define EINVAL (ERROR_BASE_NO + 22)
|
|
|
|
#endif
|
|
|
|
|
2021-12-09 20:31:12 +08:00
|
|
|
#ifndef ENFILE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENFILE (ERROR_BASE_NO + 23)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMFILE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EMFILE (ERROR_BASE_NO + 24)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTTY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTTY (ERROR_BASE_NO + 25)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETXTBSY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ETXTBSY (ERROR_BASE_NO + 26)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EFBIG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EFBIG (ERROR_BASE_NO + 27)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOSPC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOSPC (ERROR_BASE_NO + 28)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESPIPE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESPIPE (ERROR_BASE_NO + 29)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EROFS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EROFS (ERROR_BASE_NO + 30)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMLINK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EMLINK (ERROR_BASE_NO + 31)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EPIPE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPIPE (ERROR_BASE_NO + 32)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
2018-12-27 09:11:07 +08:00
|
|
|
|
|
|
|
#ifndef EDOM
|
|
|
|
#define EDOM (ERROR_BASE_NO + 33)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ERANGE
|
|
|
|
#define ERANGE (ERROR_BASE_NO + 34)
|
|
|
|
#endif
|
|
|
|
|
2021-12-09 20:31:12 +08:00
|
|
|
#ifndef EDEADLK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EDEADLK (ERROR_BASE_NO + 35)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENAMETOOLONG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENAMETOOLONG (ERROR_BASE_NO + 36)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOLCK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOLCK (ERROR_BASE_NO + 37)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOSYS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOSYS (ERROR_BASE_NO + 38)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTEMPTY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTEMPTY (ERROR_BASE_NO + 39)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELOOP
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELOOP (ERROR_BASE_NO + 40)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EWOULDBLOCK
|
2017-10-15 22:30:05 +08:00
|
|
|
#define EWOULDBLOCK EAGAIN
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOMSG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOMSG (ERROR_BASE_NO + 42)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EIDRM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EIDRM (ERROR_BASE_NO + 43)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECHRNG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECHRNG (ERROR_BASE_NO + 44)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EL2NSYNC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EL2NSYNC (ERROR_BASE_NO + 45)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EL3HLT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EL3HLT (ERROR_BASE_NO + 46)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EL3RST
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EL3RST (ERROR_BASE_NO + 47)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELNRNG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELNRNG (ERROR_BASE_NO + 48)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EUNATCH
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EUNATCH (ERROR_BASE_NO + 49)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOCSI
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOCSI (ERROR_BASE_NO + 50)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EL2HLT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EL2HLT (ERROR_BASE_NO + 51)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADE (ERROR_BASE_NO + 52)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADR (ERROR_BASE_NO + 53)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EXFULL
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EXFULL (ERROR_BASE_NO + 54)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOANO
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOANO (ERROR_BASE_NO + 55)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADRQC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADRQC (ERROR_BASE_NO + 56)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADSLT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADSLT (ERROR_BASE_NO + 57)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDEADLOCK
|
2017-10-15 22:30:05 +08:00
|
|
|
#define EDEADLOCK EDEADLK
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBFONT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBFONT (ERROR_BASE_NO + 59)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOSTR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOSTR (ERROR_BASE_NO + 60)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENODATA
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENODATA (ERROR_BASE_NO + 61)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETIME
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ETIME (ERROR_BASE_NO + 62)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOSR
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOSR (ERROR_BASE_NO + 63)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENONET
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENONET (ERROR_BASE_NO + 64)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOPKG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOPKG (ERROR_BASE_NO + 65)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EREMOTE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EREMOTE (ERROR_BASE_NO + 66)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOLINK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOLINK (ERROR_BASE_NO + 67)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EADV
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EADV (ERROR_BASE_NO + 68)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESRMNT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESRMNT (ERROR_BASE_NO + 69)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECOMM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECOMM (ERROR_BASE_NO + 70)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EPROTO
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPROTO (ERROR_BASE_NO + 71)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMULTIHOP
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EMULTIHOP (ERROR_BASE_NO + 72)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDOTDOT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EDOTDOT (ERROR_BASE_NO + 73)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADMSG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADMSG (ERROR_BASE_NO + 74)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EOVERFLOW
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EOVERFLOW (ERROR_BASE_NO + 75)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTUNIQ
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTUNIQ (ERROR_BASE_NO + 76)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EBADFD
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EBADFD (ERROR_BASE_NO + 77)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EREMCHG
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EREMCHG (ERROR_BASE_NO + 78)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELIBACC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELIBACC (ERROR_BASE_NO + 79)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELIBBAD
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELIBBAD (ERROR_BASE_NO + 80)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELIBSCN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELIBSCN (ERROR_BASE_NO + 81)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELIBMAX
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELIBMAX (ERROR_BASE_NO + 82)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELIBEXEC
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ELIBEXEC (ERROR_BASE_NO + 83)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
2018-12-27 09:11:07 +08:00
|
|
|
|
|
|
|
#ifndef EILSEQ
|
|
|
|
#define EILSEQ (ERROR_BASE_NO + 84)
|
|
|
|
#endif
|
|
|
|
|
2021-12-09 20:31:12 +08:00
|
|
|
#ifndef ERESTART
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ERESTART (ERROR_BASE_NO + 85)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESTRPIPE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESTRPIPE (ERROR_BASE_NO + 86)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EUSERS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EUSERS (ERROR_BASE_NO + 87)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTSOCK
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTSOCK (ERROR_BASE_NO + 88)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDESTADDRREQ
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EDESTADDRREQ (ERROR_BASE_NO + 89)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMSGSIZE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EMSGSIZE (ERROR_BASE_NO + 90)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EPROTOTYPE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPROTOTYPE (ERROR_BASE_NO + 91)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOPROTOOPT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOPROTOOPT (ERROR_BASE_NO + 92)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EPROTONOSUPPORT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPROTONOSUPPORT (ERROR_BASE_NO + 93)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESOCKTNOSUPPORT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESOCKTNOSUPPORT (ERROR_BASE_NO + 94)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EOPNOTSUPP
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EOPNOTSUPP (ERROR_BASE_NO + 95)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTSUP
|
2021-03-08 17:22:21 +08:00
|
|
|
#define ENOTSUP EOPNOTSUPP
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EPFNOSUPPORT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EPFNOSUPPORT (ERROR_BASE_NO + 96)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EAFNOSUPPORT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EAFNOSUPPORT (ERROR_BASE_NO + 97)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EADDRINUSE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EADDRINUSE (ERROR_BASE_NO + 98)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EADDRNOTAVAIL
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EADDRNOTAVAIL (ERROR_BASE_NO + 99)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENETDOWN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENETDOWN (ERROR_BASE_NO + 100)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENETUNREACH
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENETUNREACH (ERROR_BASE_NO + 101)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENETRESET
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENETRESET (ERROR_BASE_NO + 102)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECONNABORTED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECONNABORTED (ERROR_BASE_NO + 103)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECONNRESET
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECONNRESET (ERROR_BASE_NO + 104)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOBUFS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOBUFS (ERROR_BASE_NO + 105)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EISCONN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EISCONN (ERROR_BASE_NO + 106)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTCONN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTCONN (ERROR_BASE_NO + 107)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESHUTDOWN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESHUTDOWN (ERROR_BASE_NO + 108)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETOOMANYREFS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ETOOMANYREFS (ERROR_BASE_NO + 109)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ETIMEDOUT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ETIMEDOUT (ERROR_BASE_NO + 110)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECONNREFUSED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECONNREFUSED (ERROR_BASE_NO + 111)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EHOSTDOWN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EHOSTDOWN (ERROR_BASE_NO + 112)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EHOSTUNREACH
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EHOSTUNREACH (ERROR_BASE_NO + 113)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EALREADY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EALREADY (ERROR_BASE_NO + 114)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EINPROGRESS
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EINPROGRESS (ERROR_BASE_NO + 115)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ESTALE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ESTALE (ERROR_BASE_NO + 116)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EUCLEAN
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EUCLEAN (ERROR_BASE_NO + 117)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTNAM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTNAM (ERROR_BASE_NO + 118)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENAVAIL
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENAVAIL (ERROR_BASE_NO + 119)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EISNAM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EISNAM (ERROR_BASE_NO + 120)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EREMOTEIO
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EREMOTEIO (ERROR_BASE_NO + 121)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDQUOT
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EDQUOT (ERROR_BASE_NO + 122)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOMEDIUM
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOMEDIUM (ERROR_BASE_NO + 123)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMEDIUMTYPE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EMEDIUMTYPE (ERROR_BASE_NO + 124)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ECANCELED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ECANCELED (ERROR_BASE_NO + 125)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOKEY
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOKEY (ERROR_BASE_NO + 126)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EKEYEXPIRED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EKEYEXPIRED (ERROR_BASE_NO + 127)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EKEYREVOKED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EKEYREVOKED (ERROR_BASE_NO + 128)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EKEYREJECTED
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EKEYREJECTED (ERROR_BASE_NO + 129)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EOWNERDEAD
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EOWNERDEAD (ERROR_BASE_NO + 130)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ENOTRECOVERABLE
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ENOTRECOVERABLE (ERROR_BASE_NO + 131)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ERFKILL
|
2018-12-27 09:11:07 +08:00
|
|
|
#define ERFKILL (ERROR_BASE_NO + 132)
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EHWPOISON
|
2018-12-27 09:11:07 +08:00
|
|
|
#define EHWPOISON (ERROR_BASE_NO + 133)
|
2017-10-15 22:30:05 +08:00
|
|
|
#endif
|
2021-12-09 20:31:12 +08:00
|
|
|
#endif
|
2017-10-15 22:30:05 +08:00
|
|
|
|
|
|
|
#endif
|