⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cerrno.h

📁 CFL是Unix下的通用抽象库,以简化Unix下的系统软件开发,CFL库中包含几个分组的函数和宏
💻 H
字号:
/* ----------------------------------------------------------------------------   CFL - A C Foundation Library   Copyright (C) 1994-2003  Mark A Lindner   This file is part of CFL.      This library is free software; you can redistribute it and/or   modify it under the terms of the GNU Library General Public   License as published by the Free Software Foundation; either   version 2 of the License, or (at your option) any later version.      This library is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   Library General Public License for more details.      You should have received a copy of the GNU Library General Public   License along with this library; if not, write to the Free   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.   ----------------------------------------------------------------------------*/#ifndef __cfl_errno_h#define __cfl_errno_h#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#include <cfl/defs.h>#define C_ENOTIMPL      -99     /* function or feature not implemented  */#define C_EFAILED	 -1	/* general failure			*/#define C_EOK		  0	/* success (no error)			*/#define C_EINVAL	  1	/* invalid argument			*/#define C_ESOCKET	  2	/* socket() error			*/#define C_EBADSTATE	  3	/* call not valid in this state		*/#define C_EADDRINFO	  4	/* unable to resolve network address	*/#define C_EBIND		  5	/* bind() error				*/#define C_EBLOCKED	  6	/* operation would block		*/#define C_EACCEPT	  7	/* accept() error			*/#define C_EBADTYPE	  8	/* wrong socket type for operation	*/#define C_ELISTEN        11     /* listen() error                       */#define C_ESOCKINFO	 12	/* unable to obtain socket info		*/#define C_EFCNTL	 13	/* fcntl() error			*/#define C_ELOSTCONN	 14	/* connection to peer lost		*/#define C_EFDOPEN	 15	/* fdopen() error			*/#define C_ECONNECT	 16	/* connect() error			*/#define C_ENOCONN	 17	/* no connection available		*/#define C_ESEND		 18	/* send() error				*/#define C_ERECV		 19	/* recv() error				*/#define C_EMSG2BIG	 20	/* UDP message too big			*/#define C_ESENDTO	 21	/* sendto() error			*/#define C_ERECVFROM	 22	/* recvfrom() error			*/#define C_ETIMEOUT	 23	/* connection or I/O timed out		*/#define C_ESVCINFO	 24	/* unable to obtain service info	*/#define C_EFORK		 25	/* unable to fork			*/#define C_ETBLFULL	 26	/* table full (depends on context)	*/#define C_ESELECT	 27	/* select() error			*/#define C_EIOCTL	 28	/* ioctl() error			*/#define C_ETCATTR	 29	/* unable to get/set tty attributes	*/#define C_ENOTTY	 30	/* descriptor does not refer to a tty	*/#define C_EGETPTY	 31	/* getpty() error			*/#define C_EOPEN		 32	/* open() error				*/#define C_EPTY		 33	/* general pseudoterminal error		*/#define C_EEXECV	 34	/* execv() error			*/#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __cfl_errno_h *//* end of header file */

⌨️ 快捷键说明

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