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

天下

記錄修行的印記

LINUX 錯(cuò)誤代碼

LINUX 錯(cuò)誤代碼
[轉(zhuǎn)自]
下面這個(gè)例子列出了所有系統(tǒng)定義的錯(cuò)誤代碼及錯(cuò)誤描述
源代碼是:
/************關(guān)于本文檔********************************************
*filename: strerror.c
*purpose: 列出了系統(tǒng)定義的所有錯(cuò)誤代碼及描述
*wrote by: zhoulifa(zhoulifa@163.com) 周立發(fā)(
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
執(zhí)行程序:
.
/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) 評(píng)論(1)  編輯 收藏 引用 所屬分類: Linux編程

評(píng)論

# re: LINUX 錯(cuò)誤代碼 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  回復(fù)  更多評(píng)論   

<2012年1月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

導(dǎo)航

統(tǒng)計(jì)

常用鏈接

留言簿(4)

隨筆分類(378)

隨筆檔案(329)

鏈接

最新隨筆

搜索

最新評(píng)論

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            一二三四社区欧美黄| 国产女人精品视频| 欧美主播一区二区三区| 亚洲人成7777| 美女精品视频一区| 校园春色国产精品| 亚洲无线观看| 亚洲精品裸体| 亚洲丁香婷深爱综合| 国产日韩欧美在线一区| 欧美视频一区二区| 欧美日本成人| 欧美暴力喷水在线| 米奇777在线欧美播放| 久久精品日韩欧美| 欧美一级精品大片| 午夜精品国产精品大乳美女| 一区二区日韩| 99精品视频网| 日韩视频在线一区| 亚洲毛片在线| 日韩小视频在线观看专区| 亚洲黄色精品| 亚洲国产精品日韩| 亚洲国产精品嫩草影院| 亚洲丰满少妇videoshd| 欧美激情在线播放| 亚洲高清不卡av| 亚洲高清在线| 亚洲人永久免费| 亚洲精品九九| 日韩亚洲欧美高清| 日韩午夜高潮| 中文日韩在线视频| 亚洲一级二级在线| 亚洲欧美日韩视频一区| 性欧美精品高清| 久久精品国产99国产精品澳门| 欧美一区免费| 久久久久9999亚洲精品| 久久亚洲春色中文字幕| 久久综合九色99| 欧美电影免费观看大全| 欧美日韩成人在线播放| 欧美视频一区二区三区…| 国产精品欧美一区喷水| 国产一区二区精品久久99| 精品99一区二区| 亚洲靠逼com| 亚洲小视频在线| 久久99在线观看| 免费试看一区| 亚洲精品一二三| 亚洲午夜激情免费视频| 欧美中文日韩| 免费日韩一区二区| 欧美日韩一区成人| 国产日韩av一区二区| 精品91在线| 99riav国产精品| 性一交一乱一区二区洋洋av| 久久一区二区三区超碰国产精品| 亚洲国产高清一区| 亚洲午夜激情网站| 久久伊人亚洲| 国产精品超碰97尤物18| 国内精品99| 一区二区三区四区国产| 久久精品免费看| 欧美激情在线观看| 亚洲自拍另类| 你懂的国产精品永久在线| 国产精品乱码一区二区三区| 影音先锋亚洲电影| 亚洲视频二区| 老司机免费视频久久| 99精品视频网| 久久久久一区二区三区| 欧美日韩中文字幕| 精品88久久久久88久久久| 亚洲视频高清| 模特精品在线| 亚洲一区在线观看视频 | 欧美顶级少妇做爰| 在线亚洲观看| 你懂的亚洲视频| 国产女人aaa级久久久级| 亚洲伦理在线观看| 久久久久成人网| 9色精品在线| 麻豆精品在线观看| 国产麻豆综合| 正在播放亚洲一区| 欧美国产精品劲爆| 欧美一级免费视频| 欧美视频在线观看| 亚洲精品日韩在线观看| 久久久99爱| 夜夜嗨av一区二区三区网站四季av | 久久国产精品亚洲77777| 亚洲毛片av在线| 欧美本精品男人aⅴ天堂| 韩国av一区二区三区四区| 亚洲女同性videos| 亚洲精品综合在线| 男女视频一区二区| 在线观看中文字幕亚洲| 久久成人av少妇免费| 一区二区三区视频在线看| 欧美啪啪成人vr| 亚洲国产一区二区精品专区| 久久一区视频| 欧美一区日本一区韩国一区| 国产精品免费电影| 亚洲一区二区毛片| 日韩亚洲在线观看| 欧美精品二区三区四区免费看视频| 亚洲第一成人在线| 免费观看成人| 久久久蜜臀国产一区二区| 国内不卡一区二区三区| 欧美主播一区二区三区美女 久久精品人| 日韩亚洲欧美成人| 欧美日韩成人一区二区| 一本色道**综合亚洲精品蜜桃冫| 亚洲国产精品一区二区第一页 | 欧美午夜不卡在线观看免费 | 日韩亚洲综合在线| 亚洲国产清纯| 欧美精品在线观看91| 一本久道综合久久精品| 日韩视频免费看| 欧美午夜三级| 欧美一级视频免费在线观看| 亚洲欧美在线网| 国产一区二区三区精品久久久| 久久精品一级爱片| 久久久另类综合| 亚洲国产一区视频| 亚洲日本欧美| 欧美日韩一区二区三区四区在线观看| 在线中文字幕一区| 亚洲一二三区在线| 国产综合久久久久影院| 免费人成精品欧美精品| 免费视频一区| 一区二区三区不卡视频在线观看 | 欧美韩日一区| 欧美日韩dvd在线观看| 亚洲中字在线| 久久国产精品久久精品国产| 亚洲国产成人在线视频| 亚洲精华国产欧美| 国产精品美女| 老妇喷水一区二区三区| 欧美激情1区2区3区| 亚洲综合大片69999| 欧美在线视频在线播放完整版免费观看| 国内精品久久久久影院色| 欧美韩日一区二区三区| 欧美日韩在线电影| 久久精品av麻豆的观看方式| 久热精品视频在线| 亚洲一区二区在| 久久精品噜噜噜成人av农村| 日韩午夜在线电影| 亚洲欧美成人| 亚洲日本视频| 亚洲欧美日韩一区二区| 亚洲经典视频在线观看| 亚洲午夜未删减在线观看| 在线欧美日韩精品| 国产精品99久久99久久久二8| 国产综合香蕉五月婷在线| 亚洲激情影院| 国产一区二区三区黄视频| 亚洲欧洲一级| 好看的日韩视频| 日韩亚洲精品电影| 在线成人中文字幕| 亚洲一区二区三区乱码aⅴ蜜桃女| 亚洲高清在线| 午夜视频久久久| 在线视频一区观看| 久久免费少妇高潮久久精品99| 亚洲午夜电影在线观看| 麻豆精品网站| 久久国产精品久久久久久久久久 | 日韩一区二区精品在线观看| 精品不卡在线| 亚洲自拍偷拍视频| 日韩一区二区精品在线观看| 久久精品国产99国产精品澳门| 亚洲一区二区伦理| 欧美成人精品不卡视频在线观看| 久久激情一区| 国产精品久久久久久久久果冻传媒| 欧美激情第3页| 狠狠色香婷婷久久亚洲精品| 亚洲一级影院|