errno.h

来自「AT80296C 单片机中使用此头文件可方便查找东西,方便于编程 板头文件」· C头文件 代码 · 共 37 行

H
37
字号
/*
 *	Version : @(#)errno.h	1.3
 */

/**************************************************************************
**                                                                        *
**  FILE        :  errno.h                                                *
**                                                                        *
**  DESCRIPTION :  Include file with prototypes and macros for errors of  *
**                 some library routines                                  *
**                                                                        *
**  COPYRIGHT   :  1995 Tasking Software B.V., Amersfoort                 *
**                                                                        *
**************************************************************************/

#ifndef _errno_h
#define _errno_h

extern int      errno;

/* errors returned by printf/scanf */
#define	ERR_FORMAT	1	/* illegal format string for printf/scanf   */
#define	ERR_NOFLOAT	2	/* No floating point in this version of     */
				/* printf/scanf                             */
#define	ERR_NOLONG	3	/* No longs in this version of printf/scanf */
#define	ERR_NOPOINT	4	/* No pointers allowed in printf/scanf      */

/* Floating point errors */
#define	ERANGE		5	/* Value out of range                       */
#define	EDOM		6	/* Floating point domain error              */

/* errors returned by file positioning routiness */
#define ERR_POS		7	/* Positioning failure 			    */
#define _NERR		8	/* last error + 1                           */

#endif

⌨️ 快捷键说明

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