_exits.txt

来自「一个通讯程序源码」· 文本 代码 · 共 46 行

TXT
46
字号
.*s 1 "Exit Codes"When ECU exits (terminates execution),it uses a code from the following table:.DS LOK                   0    no errorSIG1                 1    SIGHUP (signal 1)SIGN                 64   signal 64 - see belowLINE_READ_ERROR      129  could not read from attached lineXMTR_WRITE_ERROR     130  could not write to attached lineXMTR_LOGIC_ERROR     131  software logic errorBSD4_IOCTL           132  not currently usedSHM_ABL              133  not currently usedSHM_RTL              134  not currently usedNO_FORK_FOR_RCVR     135  could not fork receiver processTTYIN_READ_ERROR     136  could not read from consoleLINE_OPEN_ERROR      137  could not attach (open) requested linePWENT_ERROR          138  error in /etc/passwd processingUSAGE                139  command line syntax errorCONFIG_ERROR         140  missing or erroroenous configuration fileCURSES_ERROR         141  error in curses useRCVR_FATAL_ERROR     142  receiver died unexpectedlyMALLOC               143  critical memory allocation failureLOGIC_ERROR          144  internal logic errorGEOMETRY             145  unsupported screen geometryINIT_PROC_ERROR      192  initial procedure terminated in errorUSER1                193  exit procedure command called with 1USERN                223  exit procedure command called with 31.DEThe logical names 'SIG1' and 'SIGN' refer to a range of error codessignifying ecu termination due to a signal.  A larger range (64) isreserved than is necessary to handle reasonable expansion ofSIG values in the OS. Not all signals will be reportedin this manner. ECU will never report status 9 (signal 9, SIGKILL),for instance.The logical names 'USER1' and 'USERN' refer to a range of errorexits codes reserved for use by the 'exit' procedure command.See the description of this command for more information.For ecu friend code,formal C #define identifiers for exit codes may be found intermecu.h and consist of the above logical names prefixed with 'TERMECU_'.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?