欢迎来到天天文库
浏览记录
ID:8847422
大小:93.00 KB
页数:5页
时间:2018-04-09
《打印linux系统错误编码及提示》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、万高建材:http://www.wangaobuy.com/组装电脑:www.dndiy.net电脑配置清单:http://www.diypz.com/pzqd/系统运维工程师和系统开发工程师在日常工作中,经常会遇到此类问题“当你进行了一些不当操作,系统会给你错误提示”,这些错误提示在操作系统中都是错误编码的,每一个提示对应一个错误编码,错误编码供程序代码中方便调用,接下来我们会打印出linux操作系统的错误编码及提示,如下:一、系统环境系统版本:内核版本:二、程序代码代码如下:三、编译运行结果如下:[roo
2、t@CentOS6erro_num]#gccerror_num.c [root@centos6erro_num]#./a.out 0:Success1:Operationnotpermitted2:Nosuchfileordirectory3:Nosuchprocess万高建材:http://www.wangaobuy.com/组装电脑:www.dndiy.net电脑配置清单:http://www.diypz.com/pzqd/4:Interruptedsystemcall5:Input/outp
3、uterror6:Nosuchdeviceoraddress7:Argumentlisttoolong8:Execformaterror9:Badfiledescriptor10:Nochildprocesses11:Resourcetemporarilyunavailable12:Cannotallocatememory13:Permissiondenied14:Badaddress15:Blockdevicerequired16:Deviceorresourcebusy17:Fileexists18:In
4、validcross-devicelink19:Nosuchdevice20:Notadirectory21:Isadirectory22:Invalidargument23:Toomanyopenfilesinsystem24:Toomanyopenfiles25:Inappropriateioctlfordevice26:Textfilebusy27:Filetoolarge28:Nospaceleftondevice29:Illegalseek30:Read-onlyfilesystem31:Tooma
5、nylinks32:Brokenpipe33:Numericalargumentoutofdomain34:Numericalresultoutofrange35:Resourcedeadlockavoided36:Filenametoolong37:Nolocksavailable38:Functionnotimplemented39:Directorynotempty40:Toomanylevelsofsymboliclinks41:Unknownerror4142:Nomessageofdesiredt
6、ype43:Identifierremoved44:Channelnumberoutofrange45:Level2notsynchronized46:Level3halted万高建材:http://www.wangaobuy.com/组装电脑:www.dndiy.net电脑配置清单:http://www.diypz.com/pzqd/47:Level3reset48:Linknumberoutofrange49:Protocoldrivernotattached50:NoCSIstructureavaila
7、ble51:Level2halted52:Invalidexchange53:Invalidrequestdescriptor54:Exchangefull55:Noanode56:Invalidrequestcode57:Invalidslot58:Unknownerror5859:Badfontfileformat60:Devicenotastream61:Nodataavailable62:Timerexpired63:Outofstreamsresources64:Machineisnotonthen
8、etwork65:Packagenotinstalled66:Objectisremote67:Linkhasbeensevered68:Advertiseerror69:Srmounterror70:Communicationerroronsend71:Protocolerror72:Multihopattempted73:RFSspecificerror74:Badmessage75:Value
此文档下载收益归作者所有