首页 > 其他分享 >AIX错误码

AIX错误码

时间:2023-01-19 11:04:16浏览次数:33  
标签:AIX No many system 错误码 SOURCE Too define


在/usr/include/sys$ 目录下的errno.h

#define EPERM 1 /* Operation not permitted  */
#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 descriptor   */
#define ECHILD 10 /* No child processes   */
#define EAGAIN 11 /* Resource temporarily unavailable */
#define ENOMEM 12 /* Not enough space   */
#define EACCES 13 /* Permission denied   */
#define EFAULT 14 /* Bad address    */
#define ENOTBLK 15 /* Block device required  */
#define EBUSY 16 /* Resource busy   */
#define EEXIST 17 /* File exists    */
#define EXDEV 18 /* Improper 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 /* Too many open files in system */
#define EMFILE 24 /* Too many open files   */
#define ENOTTY 25 /* Inappropriate I/O control operation */
#define ETXTBSY 26 /* Text file busy   */
#define EFBIG 27 /* File too large   */
#define ENOSPC 28 /* No space left on device  */
#define ESPIPE 29 /* Invalid seek    */
#define EROFS 30 /* Read only file system  */
#define EMLINK 31 /* Too many links   */
#define EPIPE 32 /* Broken pipe    */
#define EDOM 33 /* Domain error within math function */
#define ERANGE 34 /* Result too large   */
#define ENOMSG 35 /* No message of desired type  */
#define EIDRM 36 /* Identifier removed   */
#define ECHRNG 37 /* Channel number out of range  */
#define EL2NSYNC 38 /* Level 2 not synchronized  */
#define EL3HLT 39 /* Level 3 halted   */
#define EL3RST 40 /* Level 3 reset   */
#define ELNRNG 41 /* Link number out of range  */
#define EUNATCH 42 /* Protocol driver not attached  */
#define ENOCSI 43 /* No CSI structure available  */
#define EL2HLT 44 /* Level 2 halted   */
#define EDEADLK 45 /* Resource deadlock avoided  */

#define ENOTREADY 46 /* Device not ready  */
#define EWRPROTECT 47 /* Write-protected media  */
#define EFORMAT  48 /* Unformatted media   */

#define ENOLCK  49 /* No locks available   */

#define ENOCONNECT      50      /* no connection                */
#define ESTALE          52      /* no filesystem                */
#define EDIST  53  /* old, currently unused AIX errno*/

/* non-blocking and interrupt i/o */
/*
 * AIX returns EAGAIN where 4.3BSD used EWOULDBLOCK;
 * but, the standards insist on unique errno values for each errno.
 * A unique value is reserved for users that want to code case
 * statements for systems that return either EAGAIN or EWOULDBLOCK.
 */
#if _XOPEN_SOURCE_EXTENDED==1
#define EWOULDBLOCK     EAGAIN   /* Operation would block */
#else /* _XOPEN_SOURCE_EXTENDED */
#define EWOULDBLOCK 54
#endif /* _XOPEN_SOURCE_EXTENDED */

#define EINPROGRESS     55      /* Operation now in progress */
#define EALREADY        56      /* Operation already in progress */

/* ipc/network software */

 /* argument errors */
#define ENOTSOCK        57      /* Socket operation on non-socket */
#define EDESTADDRREQ    58      /* Destination address required */
#define EDESTADDREQ     EDESTADDRREQ /* Destination address required */
#define EMSGSIZE        59      /* Message too long */
#define EPROTOTYPE      60      /* Protocol wrong type for socket */
#define ENOPROTOOPT     61      /* Protocol not available */
#define EPROTONOSUPPORT 62      /* Protocol not supported */
#define ESOCKTNOSUPPORT 63      /* Socket type not supported */
#define EOPNOTSUPP      64      /* Operation not supported on socket */
#define EPFNOSUPPORT    65      /* Protocol family not supported */
#define EAFNOSUPPORT    66      /* Address family not supported by protocol family */
#define EADDRINUSE      67      /* Address already in use */
#define EADDRNOTAVAIL   68      /* Can't assign requested address */

 /* operational errors */
#define ENETDOWN        69      /* Network is down */
#define ENETUNREACH     70      /* Network is unreachable */
#define ENETRESET       71      /* Network dropped connection on reset */
#define ECONNABORTED    72      /* Software caused connection abort */
#define ECONNRESET      73      /* Connection reset by peer */
#define ENOBUFS         74      /* No buffer space available */
#define EISCONN         75      /* Socket is already connected */
#define ENOTCONN        76      /* Socket is not connected */
#define ESHUTDOWN       77      /* Can't send after socket shutdown */

#define ETIMEDOUT       78      /* Connection timed out */
#define ECONNREFUSED    79      /* Connection refused */

#define EHOSTDOWN       80      /* Host is down */
#define EHOSTUNREACH    81      /* No route to host */

/* ERESTART is used to determine if the system call is restartable */
#define ERESTART 82 /* restart the system call */

/* quotas and limits */
#define EPROCLIM 83 /* Too many processes */
#define EUSERS  84 /* Too many users */
#define ELOOP  85 /* Too many levels of symbolic links      */
#define ENAMETOOLONG 86 /* File name too long     */

/*
 * AIX returns EEXIST where 4.3BSD used ENOTEMPTY;
 * but, the standards insist on unique errno values for each errno.
 * A unique value is reserved for users that want to code case
 * statements for systems that return either EEXIST or ENOTEMPTY.
 */
#if defined(_ALL_SOURCE) && !defined(_LINUX_SOURCE_COMPAT)
#define ENOTEMPTY EEXIST /* Directory not empty */
#else /* not _ALL_SOURCE */
#define ENOTEMPTY 87
#endif /* _ALL_SOURCE */

/* disk quotas */
#define EDQUOT  88 /* Disc quota exceeded */

#define ECORRUPT        89      /* Invalid file system control data */

/* errnos 90-92 reserved for future use compatible with AIX PS/2 */

/* network file system */
#define EREMOTE  93 /* Item is not local to host */

/* errnos 94-108 reserved for future use compatible with AIX PS/2 */

#define ENOSYS  109 /* Function not implemented  POSIX */

/* disk device driver */
#define EMEDIA  110  /* media surface error */
#define ESOFT           111     /* I/O completed, but needs relocation */

/* security */
#define ENOATTR  112  /* no attribute found */
#define ESAD  113 /* security authentication denied */
#define ENOTRUST 114 /* not a trusted program */

/* BSD 4.3 RENO */
#define ETOOMANYREFS    115     /* Too many references: can't splice */

#define EILSEQ  116     /* Invalid wide character */
#define ECANCELED  117     /* asynchronous i/o cancelled */

/* SVR4 STREAMS */
#define ENOSR  118 /* temp out of streams resources */
#define ETIME  119 /* I_STR ioctl timed out */
#define EBADMSG  120 /* wrong message type at stream head */
#define EPROTO  121 /* STREAMS protocol error */
#define ENODATA  122 /* no message ready at stream head */
#define ENOSTR  123 /* fd is not a stream */

#define ECLONEME ERESTART /* this is the way we clone a stream ... */

#define ENOTSUP  124 /* POSIX threads unsupported value */

#define EMULTIHOP       125     /* multihop is not allowed */
#define ENOLINK         126     /* the link has been severed */
#define EOVERFLOW       127     /* value too large to be stored in data type */

标签:AIX,No,many,system,错误码,SOURCE,Too,define
From: https://blog.51cto.com/u_15942605/6019941

相关文章

  • mysql主从同步失败 错误码1594
    起因某日mysql主从同步发生了错误,此时发现从库不再执行同步操作,于是在从库执行showslavestatus\G发现如下错误:上图中标红色的需要重点关注。解决办法之前出现其他常......
  • 海康 登录 错误码 16777215错误码
    海康卡口相机你这个老6呀,老子写了两套代码,你这个老6竟然在我和玩躲猫猫 返回这个错误码的原因是我程序首先连接MySQL数据库了,然后才是初始化和登录数据库。这个顺序导致......
  • 查看AIX操作系统CPU和内存
    转:https://blog.csdn.net/oradbm/article/details/124565324一、AIX下查看CPU1.查询AIX的硬件信息prtconf 12.查看逻辑CPU个数#pmcycles-m CPU0runsat4204MHz C......
  • IBM MQ错误信息(错误码)
     MQ错误码:0      (0000)(RC0):MQRC_NONE                     900  (0384)(RC900):MQRC_APPL_FIRST            ......
  • 【C语言】strerror() - 返回错误码
    前言在前面的文章 strlen()、strcpy()、strcat()、strcmp() 的四个字符串函数、这四个是最基本也是我们最常用的字符串函数、接下来我们要介绍的可能很多小伙伴比较陌生的......
  • opencl错误码
    1、OpenCL错误码和说明2021年11月1日17:39:30:增加:错误码为-11时,除了语法错误,还有可能是OPENCL不支持数据的扩展精度,导致错误。如ARM的某些GPU上就禁用了fp64位,此时使用doub......
  • Win32 GetLastError 获取函数执行的错误码
    函数说明   一般Win32函数执行出错,没有错误码返回的情况下,可以调用该函数尝试获取最后的错误信息。例子if(!SetLocalTime(&pst)){std::int64_tnRet=......
  • spring mvc环境之异常错误码的统一返回(十五)
    1.根据不同的请求方式,返回页面或json数据1).创建统一权限异常处理类,所有的权限异常走一个端口2).根据请求方式不同返回不同数据,页面请求返回403未授权页面,ajax请......
  • 29、MAix Bit K210开发板进行目标检测
    基本思想:手中有一款K201开发板,记录一下进行目标检测的历程第一步:下载刷机包工具​​https://github.com/sipeed/kflash_gui/releases/download/v1.6.7/kflash_gui_v1.6.7_wi......
  • OpenCL错误码
    错误描述CL_SUCCESS命令成功执行,没有出现错误CL_DEVICE_NOT_FOUND未发现与条件匹配的OpenCL设备CL_DEVICE_NOT_AVAILABLEOpenCL设备目前不可用CL_COMPILER_NOT_AVA......