基于errno返回值的对应错误码的详细介绍
errno返回值的对应错误码
<asm-generic/errno-base.h>
#ifndef_ASM_GENERIC_ERRNO_BASE_H
#define_ASM_GENERIC_ERRNO_BASE_H
#defineEPERM1/*Operationnotpermitted*/
#defineENOENT2/*Nosuchfileordirectory*/
#defineESRCH3/*Nosuchprocess*/
#defineEINTR4/*Interruptedsystemcall*/
#defineEIO5/*I/Oerror*/
#defineENXIO6/*Nosuchdeviceoraddress*/
#defineE2BIG7/*Argumentlisttoolong*/
#defineENOEXEC8/*Execformaterror*/
#defineEBADF9/*Badfilenumber*/
#defineECHILD10/*Nochildprocesses*/
#defineEAGAIN11/*Tryagain*/
#defineENOMEM12/*Outofmemory*/
#defineEACCES13/*Permissiondenied*/
#defineEFAULT14/*Badaddress*/
#defineENOTBLK15/*Blockdevicerequired*/
#defineEBUSY16/*Deviceorresourcebusy*/
#defineEEXIST17/*Fileexists*/
#defineEXDEV18/*Cross-devicelink*/
#defineENODEV19/*Nosuchdevice*/
#defineENOTDIR20/*Notadirectory*/
#defineEISDIR21/*Isadirectory*/
#defineEINVAL22/*Invalidargument*/
#defineENFILE23/*Filetableoverflow*/
#defineEMFILE24/*Toomanyopenfiles*/
#defineENOTTY25/*Notatypewriter*/
#defineETXTBSY26/*Textfilebusy*/
#defineEFBIG27/*Filetoolarge*/
#defineENOSPC28/*Nospaceleftondevice*/
#defineESPIPE29/*Illegalseek*/
#defineEROFS30/*Read-onlyfilesystem*/
#defineEMLINK31/*Toomanylinks*/
#defineEPIPE32/*Brokenpipe*/
#defineEDOM33/*Mathargumentoutofdomainoffunc*/
#defineERANGE34/*Mathresultnotrepresentable*/
#endif
<linux/asm-generic/errno.h>
#defineEDEADLK35/*Resourcedeadlockwouldoccur*/
#defineENAMETOOLONG36/*Filenametoolong*/
#defineENOLCK37/*Norecordlocksavailable*/
#defineENOSYS38/*Functionnotimplemented*/
#defineENOTEMPTY39/*Directorynotempty*/
#defineELOOP40/*Toomanysymboliclinksencountered*/
#defineEWOULDBLOCKEAGAIN/*Operationwouldblock*/
#defineENOMSG42/*Nomessageofdesiredtype*/
#defineEIDRM43/*Identifierremoved*/
#defineECHRNG44/*Channelnumberoutofrange*/
#defineEL2NSYNC45/*Level2notsynchronized*/
#defineEL3HLT46/*Level3halted*/
#defineEL3RST47/*Level3reset*/
#defineELNRNG48/*Linknumberoutofrange*/
#defineEUNATCH49/*Protocoldrivernotattached*/
#defineENOCSI50/*NoCSIstructureavailable*/
#defineEL2HLT51/*Level2halted*/
#defineEBADE52/*Invalidexchange*/
#defineEBADR53/*Invalidrequestdescriptor*/
#defineEXFULL54/*Exchangefull*/
#defineENOANO55/*Noanode*/
#defineEBADRQC56/*Invalidrequestcode*/
#defineEBADSLT57/*Invalidslot*/
#defineEDEADLOCKEDEADLK
#defineEBFONT59/*Badfontfileformat*/
#defineENOSTR60/*Devicenotastream*/
#defineENODATA61/*Nodataavailable*/
#defineETIME62/*Timerexpired*/
#defineENOSR63/*Outofstreamsresources*/
#defineENONET64/*Machineisnotonthenetwork*/
#defineENOPKG65/*Packagenotinstalled*/
#defineEREMOTE66/*Objectisremote*/
#defineENOLINK67/*Linkhasbeensevered*/
#defineEADV68/*Advertiseerror*/
#defineESRMNT69/*Srmounterror*/
#defineECOMM70/*Communicationerroronsend*/
#defineEPROTO71/*Protocolerror*/
#defineEMULTIHOP72/*Multihopattempted*/
#defineEDOTDOT73/*RFSspecificerror*/
#defineEBADMSG74/*Notadatamessage*/
#defineEOVERFLOW75/*Valuetoolargefordefineddatatype*/
#defineENOTUNIQ76/*Namenotuniqueonnetwork*/
#defineEBADFD77/*Filedescriptorinbadstate*/
#defineEREMCHG78/*Remoteaddresschanged*/
#defineELIBACC79/*Cannotaccessaneededsharedlibrary*/
#defineELIBBAD80/*Accessingacorruptedsharedlibrary*/
#defineELIBSCN81/*.libsectionina.outcorrupted*/
#defineELIBMAX82/*Attemptingtolinkintoomanysharedlibraries*/
#defineELIBEXEC83/*Cannotexecasharedlibrarydirectly*/
#defineEILSEQ84/*Illegalbytesequence*/
#defineERESTART85/*Interruptedsystemcallshouldberestarted*/
#defineESTRPIPE86/*Streamspipeerror*/
#defineEUSERS87/*Toomanyusers*/
#defineENOTSOCK88/*Socketoperationonnon-socket*/
#defineEDESTADDRREQ89/*Destinationaddressrequired*/
#defineEMSGSIZE90/*Messagetoolong*/
#defineEPROTOTYPE91/*Protocolwrongtypeforsocket*/
#defineENOPROTOOPT92/*Protocolnotavailable*/
#defineEPROTONOSUPPORT93/*Protocolnotsupported*/
#defineESOCKTNOSUPPORT94/*Sockettypenotsupported*/
#defineEOPNOTSUPP95/*Operationnotsupportedontransportendpoint*/
#defineEPFNOSUPPORT96/*Protocolfamilynotsupported*/
#defineEAFNOSUPPORT97/*Addressfamilynotsupportedbyprotocol*/
#defineEADDRINUSE98/*Addressalreadyinuse*/
#defineEADDRNOTAVAIL99/*Cannotassignrequestedaddress*/
#defineENETDOWN100/*Networkisdown*/
#defineENETUNREACH101/*Networkisunreachable*/
#defineENETRESET102/*Networkdroppedconnectionbecauseofreset*/
#defineECONNABORTED103/*Softwarecausedconnectionabort*/
#defineECONNRESET104/*Connectionresetbypeer*/
#defineENOBUFS105/*Nobufferspaceavailable*/
#defineEISCONN106/*Transportendpointisalreadyconnected*/
#defineENOTCONN107/*Transportendpointisnotconnected*/
#defineESHUTDOWN108/*Cannotsendaftertransportendpointshutdown*/
#defineETOOMANYREFS109/*Toomanyreferences:cannotsplice*/
#defineETIMEDOUT110/*Connectiontimedout*/
#defineECONNREFUSED111/*Connectionrefused*/
#defineEHOSTDOWN112/*Hostisdown*/
#defineEHOSTUNREACH113/*Noroutetohost*/
#defineEALREADY114/*Operationalreadyinprogress*/
#defineEINPROGRESS115/*Operationnowinprogress*/
#defineESTALE116/*StaleNFSfilehandle*/
#defineEUCLEAN117/*Structureneedscleaning*/
#defineENOTNAM118/*NotaXENIXnamedtypefile*/
#defineENAVAIL119/*NoXENIXsemaphoresavailable*/
#defineEISNAM120/*Isanamedtypefile*/
#defineEREMOTEIO121/*RemoteI/Oerror*/
#defineEDQUOT122/*Quotaexceeded*/
#defineENOMEDIUM123/*Nomediumfound*/
#defineEMEDIUMTYPE124/*Wrongmediumtype*/
#defineECANCELED125/*OperationCanceled*/
#defineENOKEY126/*Requiredkeynotavailable*/
#defineEKEYEXPIRED127/*Keyhasexpired*/
#defineEKEYREVOKED128/*Keyhasbeenrevoked*/
#defineEKEYREJECTED129/*Keywasrejectedbyservice*/
/*forrobustmutexes*/
#defineEOWNERDEAD130/*Ownerdied*/
#defineENOTRECOVERABLE131/*Statenotrecoverable*/
#defineERFKILL132/*OperationnotpossibleduetoRF-kill*/
#endif
栏 目:C语言
本文地址:https://www.xiuzhanwang.com/a1/Cyuyan/4465.html
您可能感兴趣的文章
- 01-10基于atoi()与itoa()函数的内部实现方法详解
- 01-10基于C语言sprintf函数的深入理解
- 01-10基于C程序启动代码的深入分析
- 01-10基于getline()函数的深入理解
- 01-10基于C语言fflush()函数的使用详解
- 01-10基于linux下获取时间函数的详解
- 01-10基于C语言指令的深入分析
- 01-10基于c中使用ftruncate()前需要fflush(),使用后需要rewind()的深入探讨
- 01-10基于C++ list中erase与remove函数的使用详解
- 01-10基于C++输出指针自增(++)运算的示例分析
阅读排行
本栏相关
- 04-02c语言函数调用后清空内存 c语言调用
- 04-02func函数+在C语言 func函数在c语言中
- 04-02c语言的正则匹配函数 c语言正则表达
- 04-02c语言用函数写分段 用c语言表示分段
- 04-02c语言中对数函数的表达式 c语言中对
- 04-02c语言编写函数冒泡排序 c语言冒泡排
- 04-02c语言没有round函数 round c语言
- 04-02c语言分段函数怎么求 用c语言求分段
- 04-02C语言中怎么打出三角函数 c语言中怎
- 04-02c语言调用函数求fibo C语言调用函数求
随机阅读
- 01-10使用C语言求解扑克牌的顺子及n个骰子
- 04-02jquery与jsp,用jquery
- 01-10C#中split用法实例总结
- 01-10delphi制作wav文件的方法
- 08-05dedecms(织梦)副栏目数量限制代码修改
- 01-11Mac OSX 打开原生自带读写NTFS功能(图文
- 01-11ajax实现页面的局部加载
- 08-05DEDE织梦data目录下的sessions文件夹有什
- 01-10SublimeText编译C开发环境设置
- 08-05织梦dedecms什么时候用栏目交叉功能?