青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

天下

記錄修行的印記

LINUX 錯誤代碼

LINUX 錯誤代碼
[轉自]
下面這個例子列出了所有系統定義的錯誤代碼及錯誤描述
源代碼是:
/************關于本文檔********************************************
*filename: strerror.c
*purpose: 列出了系統定義的所有錯誤代碼及描述
*wrote by: zhoulifa(zhoulifa@163.com) 周立發(
http://zhoulifa.bokee.com)
*/

#include 
<string.h> /* for strerror */
#include 
<errno.h>
#include 
<stdio.h>

int main(int argc, char ** argv)        {
        
int i = 0;
        
for(i = 0; i < 256; i++)
        printf(
"errno.%02d is: %s\n", i, strerror(i));
        
return 0;
}

 

編譯此程序用命令:
gcc 
-Wall strerror.c
執行程序:
.
/a.out
輸出如下:
errno.
00 is: Success
errno.
01 is: Operation not permitted
errno.
02 is: No such file or directory
errno.
03 is: No such process
errno.
04 is: Interrupted system call
errno.
05 is: Input/output error
errno.
06 is: No such device or address
errno.
07 is: Argument list too long
errno.
08 is: Exec format error
errno.
09 is: Bad file descriptor
errno.
10 is: No child processes
errno.
11 is: Resource temporarily unavailable
errno.
12 is: Cannot allocate memory
errno.
13 is: Permission denied
errno.
14 is: Bad address
errno.
15 is: Block device required
errno.
16 is: Device or resource busy
errno.
17 is: File exists
errno.
18 is: Invalid cross-device link
errno.
19 is: No such device
errno.
20 is: Not a directory
errno.
21 is: Is a directory
errno.
22 is: Invalid argument
errno.
23 is: Too many open files in system
errno.
24 is: Too many open files
errno.
25 is: Inappropriate ioctl for device
errno.
26 is: Text file busy
errno.
27 is: File too large
errno.
28 is: No space left on device
errno.
29 is: Illegal seek
errno.
30 is: Read-only file system
errno.
31 is: Too many links
errno.
32 is: Broken pipe
errno.
33 is: Numerical argument out of domain
errno.
34 is: Numerical result out of range
errno.
35 is: Resource deadlock avoided
errno.
36 is: File name too long
errno.
37 is: No locks available
errno.
38 is: Function not implemented
errno.
39 is: Directory not empty
errno.
40 is: Too many levels of symbolic links
errno.
41 is: Unknown error 41
errno.
42 is: No message of desired type
errno.
43 is: Identifier removed
errno.
44 is: Channel number out of range
errno.
45 is: Level 2 not synchronized
errno.
46 is: Level 3 halted
errno.
47 is: Level 3 reset
errno.
48 is: Link number out of range
errno.
49 is: Protocol driver not attached
errno.
50 is: No CSI structure available
errno.
51 is: Level 2 halted
errno.
52 is: Invalid exchange
errno.
53 is: Invalid request descriptor
errno.
54 is: Exchange full
errno.
55 is: No anode
errno.
56 is: Invalid request code
errno.
57 is: Invalid slot
errno.
58 is: Unknown error 58
errno.
59 is: Bad font file format
errno.
60 is: Device not a stream
errno.
61 is: No data available
errno.
62 is: Timer expired
errno.
63 is: Out of streams resources
errno.
64 is: Machine is not on the network
errno.
65 is: Package not installed
errno.
66 is: Object is remote
errno.
67 is: Link has been severed
errno.
68 is: Advertise error
errno.
69 is: Srmount error
errno.
70 is: Communication error on send
errno.
71 is: Protocol error
errno.
72 is: Multihop attempted
errno.
73 is: RFS specific error
errno.
74 is: Bad message
errno.
75 is: Value too large for defined data type
errno.
76 is: Name not unique on network
errno.
77 is: File descriptor in bad state
errno.
78 is: Remote address changed
errno.
79 is: Can not access a needed shared library
errno.
80 is: Accessing a corrupted shared library
errno.
81 is: .lib section in a.out corrupted
errno.
82 is: Attempting to link in too many shared libraries
errno.
83 is: Cannot exec a shared library directly
errno.
84 is: Invalid or incomplete multibyte or wide character
errno.
85 is: Interrupted system call should be restarted
errno.
86 is: Streams pipe error
errno.
87 is: Too many users
errno.
88 is: Socket operation on non-socket
errno.
89 is: Destination address required
errno.
90 is: Message too long
errno.
91 is: Protocol wrong type for socket
errno.
92 is: Protocol not available
errno.
93 is: Protocol not supported
errno.
94 is: Socket type not supported
errno.
95 is: Operation not supported
errno.
96 is: Protocol family not supported
errno.
97 is: Address family not supported by protocol
errno.
98 is: Address already in use
errno.
99 is: Cannot assign requested address
errno.
100 is: Network is down
errno.
101 is: Network is unreachable
errno.
102 is: Network dropped connection on reset
errno.
103 is: Software caused connection abort
errno.
104 is: Connection reset by peer
errno.
105 is: No buffer space available
errno.
106 is: Transport endpoint is already connected
errno.
107 is: Transport endpoint is not connected
errno.
108 is: Cannot send after transport endpoint shutdown
errno.
109 is: Too many references: cannot splice
errno.
110 is: Connection timed out
errno.
111 is: Connection refused
errno.
112 is: Host is down
errno.
113 is: No route to host
errno.
114 is: Operation already in progress
errno.
115 is: Operation now in progress
errno.
116 is: Stale NFS file handle
errno.
117 is: Structure needs cleaning
errno.
118 is: Not a XENIX named type file
errno.
119 is: No XENIX semaphores available
errno.
120 is: Is a named type file
errno.
121 is: Remote I/O error
errno.
122 is: Disk quota exceeded
errno.
123 is: No medium found
errno.
124 is: Wrong medium type
errno.
125 is: Operation canceled
errno.
126 is: Required key not available
errno.
127 is: Key has expired
errno.
128 is: Key has been revoked
errno.
129 is: Key was rejected by service
errno.
130 is: Owner died
errno.
131 is: State not recoverable
errno.
132 is: Unknown error 132
132-255全是Unknown error 

posted on 2012-01-06 11:15 天下 閱讀(5651) 評論(1)  編輯 收藏 引用 所屬分類: Linux編程

評論

# re: LINUX 錯誤代碼 2012-04-28 08:54 天下

/* Error Codes */

#define EPERM 1
#define ENOENT 2
#define ESRCH 3
#define EINTR 4
#define EIO 5
#define ENXIO 6
#define E2BIG 7
#define ENOEXEC 8
#define EBADF 9
#define ECHILD 10
#define EAGAIN 11
#define ENOMEM 12
#define EACCES 13
#define EFAULT 14
#define EBUSY 16
#define EEXIST 17
#define EXDEV 18
#define ENODEV 19
#define ENOTDIR 20
#define EISDIR 21
#define ENFILE 23
#define EMFILE 24
#define ENOTTY 25
#define EFBIG 27
#define ENOSPC 28
#define ESPIPE 29
#define EROFS 30
#define EMLINK 31
#define EPIPE 32
#define EDOM 33
#define EDEADLK 36
#define ENAMETOOLONG 38
#define ENOLCK 39
#define ENOSYS 40
#define ENOTEMPTY 41  回復  更多評論   

<2025年12月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

導航

統計

常用鏈接

留言簿(4)

隨筆分類(378)

隨筆檔案(329)

鏈接

最新隨筆

搜索

最新評論

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            99视频热这里只有精品免费| 在线亚洲精品| 久久综合九色综合欧美就去吻| 亚洲一区在线播放| 欧美视频在线一区| 亚洲一区在线免费| 欧美亚洲在线| 亚洲激情成人在线| 亚洲美女福利视频网站| 国产精品mm| 久久精品国产视频| 久久综合五月| 亚洲视频一起| 久久都是精品| 亚洲精品在线视频观看| 亚洲深夜av| 国产一区二区高清不卡| 欧美激情第一页xxx| 欧美午夜视频在线| 久久国产日韩| 欧美大片在线观看| 欧美伊人影院| 欧美成人a∨高清免费观看| 亚洲一区二区三区国产| 欧美亚洲一区| av成人免费在线观看| 欧美一区二区三区日韩| 99精品久久久| 欧美一区二区精美| 99re6这里只有精品| 欧美一区二区精品| 日韩午夜剧场| 久久成人国产| 亚洲在线黄色| 欧美国产日韩一区二区| 久久久久免费| 欧美亚一区二区| 欧美激情精品久久久久| 国产一区二区三区的电影| 亚洲另类春色国产| 亚洲国产成人在线| 午夜影院日韩| 亚洲午夜激情| 欧美国产视频在线| 猫咪成人在线观看| 国产精品一区二区久久久| 亚洲美女av在线播放| 亚洲国产高清在线观看视频| 亚洲一区高清| 亚洲午夜精品一区二区| 欧美国产高潮xxxx1819| 男同欧美伦乱| 国外成人在线视频| 午夜精品偷拍| 欧美影院一区| 国产精品看片资源| 一区二区三区高清在线| 正在播放欧美视频| 欧美精品国产精品| 91久久久精品| 亚洲国产合集| 榴莲视频成人在线观看| 免费成人av| 曰韩精品一区二区| 久久亚洲精品一区二区| 麻豆国产精品一区二区三区| 欧美一区观看| 国产一区二区三区免费观看| 欧美一二三区在线观看| 久久精品人人做人人爽电影蜜月 | 久久夜色精品国产欧美乱极品| 国产精品久久久久一区二区三区| 亚洲美女诱惑| 亚洲视频1区| 国产精品国产三级国产aⅴ浪潮 | 亚洲另类视频| 一区二区三区精品视频在线观看| 欧美激情视频给我| 亚洲精品久久久久久久久| 中文精品视频| 国产精品视频九色porn| 欧美一区二区视频免费观看| 久久久久久夜| 亚洲片国产一区一级在线观看| 欧美激情精品久久久| 99综合电影在线视频| 欧美一级理论性理论a| 国内成人在线| 欧美国产日本韩| 亚洲午夜日本在线观看| 久久亚洲私人国产精品va媚药 | 欧美精品电影在线| 亚洲视频日本| 久久综合网色—综合色88| 亚洲精品久久久久久一区二区| 欧美三区在线| 亚洲欧美日韩天堂| 欧美激情精品久久久久| 亚洲天堂网站在线观看视频| 国产婷婷一区二区| 欧美精品激情blacked18| 亚洲欧美日韩一区在线观看| 免费在线一区二区| 亚洲你懂的在线视频| 精品成人a区在线观看| 欧美日韩色一区| 久久精品国产久精国产一老狼 | 欧美国产日韩xxxxx| 亚洲一区二区三区免费视频| 加勒比av一区二区| 欧美性一二三区| 免费黄网站欧美| 性欧美videos另类喷潮| 亚洲精选一区二区| 米奇777在线欧美播放| 午夜精彩视频在线观看不卡| 亚洲激情婷婷| 韩国三级电影久久久久久| 欧美日韩一区二区三区四区在线观看| 欧美亚洲一区二区在线观看| 日韩视频一区二区三区在线播放| 久久综合网络一区二区| 欧美一区二区在线播放| 亚洲私人黄色宅男| 91久久精品国产91性色| 激情综合自拍| 国产一区二区三区久久久| 国产精品久久网| 欧美日韩国产成人精品| 欧美成人免费观看| 久久久久国产精品厨房| 性欧美18~19sex高清播放| 亚洲小视频在线| 夜夜嗨av色一区二区不卡| 亚洲欧洲在线一区| 欧美激情一二三区| 欧美成ee人免费视频| 狂野欧美激情性xxxx| 久久久999成人| 久久精品视频在线播放| 久久精品国产第一区二区三区最新章节 | 性8sex亚洲区入口| 亚洲在线观看视频网站| 亚洲网站在线观看| 一区二区欧美日韩视频| 亚洲最新中文字幕| 一二三区精品| 这里是久久伊人| 亚洲小说春色综合另类电影| 亚洲深夜福利网站| 亚洲一区二区在线观看视频| 亚洲一二三区在线观看| 一区二区激情视频| 亚洲午夜精品视频| 午夜精品一区二区三区在线视| 午夜久久久久久| 久久激情五月激情| 麻豆免费精品视频| 欧美激情国产高清| 欧美午夜激情视频| 国产视频久久网| 在线观看国产精品网站| 亚洲精品欧美专区| 亚洲午夜一区二区| 欧美综合第一页| 你懂的一区二区| 亚洲人体大胆视频| 亚洲一区二区三区涩| 久久久久久久综合| 欧美久久婷婷综合色| 国产精品一二三| 黄色一区二区三区四区| 999亚洲国产精| 欧美在线视频免费播放| 欧美黄色影院| 正在播放欧美视频| 久久国产精品久久久| 欧美麻豆久久久久久中文| 国产精品视频导航| 91久久中文字幕| 午夜精品成人在线| 蜜臀a∨国产成人精品 | 欧美一级大片在线观看| 欧美激情1区2区3区| 亚洲亚洲精品在线观看 | 美女国产一区| 国产精品久久久一区麻豆最新章节 | 欧美日韩亚洲高清一区二区| 国产日韩欧美综合精品| 99国产精品久久久久老师| 久久久精品网| 99视频日韩| 狼人社综合社区| 国产日韩欧美另类| av成人国产| 亚洲电影免费| 久久精品99国产精品| 国产精品入口| 在线一区二区日韩| 亚洲电影观看|