📄 errno.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* * errno.h (extension) * * TK/SE extended error number definitions */#ifndef __EXTENSION_ERRNO_H__#define __EXTENSION_ERRNO_H__#include <tk/errno.h>/* TK/SE extended error codes */#ifndef ERRNO_EXP_CHG#define E_SYSMEM ERCD(-257, 0) /* Out of System memory */#define E_FNAME ERCD(-261, 0) /* Illegal path name */#define E_FD ERCD(-262, 0) /* Illegal file descriptor */#define E_FACV ERCD(-263, 0) /* File access permission denied */#define E_PERM ERCD(-264, 0) /* Forbidden file to delete */#define E_PWD ERCD(-265, 0) /* Incorrect password */#define E_ENDR ERCD(-266, 0) /* End of record */#define E_REC ERCD(-267, 0) /* Illegal or unexistent type of record */#define E_NOLNK ERCD(-268, 0) /* Unlinked file */#define E_LOCK ERCD(-269, 0) /* Locked record */#define E_XFS ERCD(-270, 0) /* Different type of file system */#define E_NOFS ERCD(-271, 0) /* File system unattached */#define E_NODSK ERCD(-272, 0) /* Out fo disk space */#define E_ILFMT ERCD(-273, 0) /* Differnt disk format from the standard format */#define E_SEIO ERCD(-274, 0) /* Standard I/O error */#define E_NODEV ERCD(-281, 0) /* Device access denied */#define E_ERDEV ERCD(-282, 0) /* Device trouble occurred */#else#define E_SYSMEM (-16842752) /* ERCD(-257, 0) */#define E_FNAME (-17104896) /* ERCD(-261, 0) */#define E_FD (-17170432) /* ERCD(-262, 0) */#define E_FACV (-17235968) /* ERCD(-263, 0) */#define E_PERM (-17301504) /* ERCD(-264, 0) */#define E_PWD (-17367040) /* ERCD(-265, 0) */#define E_ENDR (-17432576) /* ERCD(-266, 0) */#define E_REC (-17498112) /* ERCD(-267, 0) */#define E_NOLNK (-17563648) /* ERCD(-268, 0) */#define E_LOCK (-17629184) /* ERCD(-269, 0) */#define E_XFS (-17694720) /* ERCD(-270, 0) */#define E_NOFS (-17760256) /* ERCD(-271, 0) */#define E_NODSK (-17825792) /* ERCD(-272, 0) */#define E_ILFMT (-17891328) /* ERCD(-273, 0) */#define E_SEIO (-17956864) /* ERCD(-274, 0) */#define E_NODEV (-18415616) /* ERCD(-281, 0) */#define E_ERDEV (-18481152) /* ERCD(-282, 0) */#endif#endif /* __EXTENSION_ERRNO_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -