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

📄 fs.hec

📁 我今天开始上传5份TI、NXP、MTK的手机开发全套资料。希望对大家有很大的帮助
💻 HEC
字号:
/*S**************************************************************************** ........................................................................                COPYRIGHT (c) Philips Semiconductors Nuremberg 2003    ..     All rights are reserved. Reproduction in whole or in part is      ..     prohibited without the written consent of the copyright owner.    . ......................................................................... File name :    Fs.hec.. Project :      SSYOL3 WAP/MMS.. Module :       OSFS.. %version:      4 %.. Compiler name and release:...............:........:..........:............:........................... *----------------------------------------------------------------------------* *                                    DESCRIPTION * *  This file contains externally used constant declarations *----------------------------------------------------------------------------* *----------------------------------------------------------------------------* *                           FUNCTIONS DEFINED IN THIS FILE *----------------------------------------------------------------------------* * Name            | Object *----------------------------------------------------------------------------* * * *----------------------------------------------------------------------------* *----------------------------------------------------------------------------* *                                    EVOLUTION *----------------------------------------------------------------------------* * Date     | Author             | Description *----------------------------------------------------------------------------* * 27.03.03 | tcmc_sgp           | File header is added * 02.05.03 | tcmc_sgp           | Delay error is added****************************************************************************E*/#ifndef FS_HEC#define FS_HEC/* Object types */#define FS_NO_OBJECT	0#define FS_OBJECT_FILE	1#define FS_OBJECT_DIR	2/* Open directories's status */#define FS_FIRST_DIR	0#define FS_NEXT_ELEM	1#define FS_END_OF_FILE	2/* Path characteristics */#define FS_PATH_MAX	FSS_PATH_MAX	/* Max length of a path */#define	FS_NAME_MAX	FSS_NAME_MAX	/* Max length of a name or a volume *//* File positionning */#define FS_EOF		FSS_EOF/* Error codes */#ifdef SYNCHRONOUS_FILE_SYSTEM_FTR#define FS_ERROR	FSS_ERROR	/* Error for POSIX interface */#endif	#define FS_OK		FSS_OK#define FS_EACCES	FSS_EACCES	/* Search permission denied for a 					   directory */#define FS_EAGAIN	FSS_EAGAIN#define FS_EBADF	FSS_EBADF	/* Bad file descriptor */#define FS_EBUSY	FSS_EBUSY	/* The directory is busy or file 					   already open */#define FS_EEXIST	FSS_EEXIST	/* The file already exist */#define FS_EFBIG	FSS_EFBIG	/* Attempt to write to a file that 					   exceed max file size */#define FS_EINTR	FSS_EINTR	/* This function was interrupt by a 					   signal */#define FS_EINVAL 	FSS_EINVAL	/* Invalid argument ( size null ....) 					   */#define FS_EISDIR	FSS_EISDIR	/* The object is a directory */#define FS_ENFILE	FSS_ENFILE	/* Too many files open by this entity 					   */#define FS_EMLINK	FSS_EMLINK	/* Number of links exceed FSS_LINK_MAX					   */#define FS_ENAMETOOLONG	FSS_ENAMETOOLONG	/* Length of a path or of a 						   path name component too 						   long */#define FS_ENODEV	FSS_ENODEV	/* No such device ( function not 					   appropriate to device per example 					   read on a print device ....) */#define FS_ENOENT	FSS_ENOENT	/* No entry. A file or a directory does					   not exist */#define FS_ENOSPC	FSS_ENOSPC	/* No space left on device ( device 					   full ) */#define FS_ENOTDIR	FSS_ENOTDIR	/* The component specified is not a 				 	   directory */#define FS_ENOTEMPTY	FSS_ENOTEMPTY 	/* Attempt to delete or rename a 					   non-empty directory */#define FS_ENOTTY	FSS_ENOTTY	/* Terminal control function used for 					   a device that is not a terminal */#define FS_ENXIO	FSS_ENXIO	/* No such device. If device not ready					   or not mounted */#define FS_EPERM	FSS_EPERM	/* Operation not permitted ( not the 					   privileges for ) */#define FS_EROFS	FSS_EROFS	/* Read only file system */#define FS_EXDEV	FSS_EXDEV	/* External device ( returned if it is					   not on the same volume, used for 					   rename ) */#define FS_ENOTSUP	FSS_ENOTSUP	/* Not supported by the FSS or the 					   volume */#define FS_ERANGE	FSS_ERANGE	/* Argument out of range *//* Special FSS error numbers */#define FS_ERR_NOT_FIRST_OPER		FSS_ERR_NOT_FIRST_OPER						/* Used for setvbuff if it is not the 					   first operation on the file */#define FS_ERR_FILE_OR_DIR_OPEN		FSS_ERR_FILE_OR_DIR_OPEN 					/* A file or a directory is open in 					   the volume */#define FS_ERR_STALE_CURR_DIR		FSS_ERR_STALE_CURR_DIR						/* Current directory was removed ( has					   to be changed ) */#define FS_ERR_INCOHERENT_CMD_ORDER	FSS_ERR_INCOHERENT_CMD_ORDER						/* Incoherent command order ( a write 					   is followed from a read or the 					   reverse without use of an 					   positionning or flush-> fseek, 					   fflush, rewind ..) */ #define FS_ERR_VOL_NOT_FORMATED		FSS_ERR_VOL_NOT_FORMATED#define FS_ERR_TOO_MUTCH_OBJ_ON_DEVICE	FSS_ERR_TOO_MUTCH_OBJ_ON_DEVICE						/* The Volume manager's FAT has not 					   enough entries for the number of            				   objects to manage */#define FS_ERR_INIT_FAIL		FSS_ERR_INIT_FAIL						/* Init made at end of volume mount 					   fails */#define FS_ERR_VOL_FROZEN		FSS_ERR_VOL_FROZEN						/* Command not possible volume is 					   frozen */#define FS_ERR_FREEZE_OVF		FSS_ERR_FREEZE_OVF						/* The freeze counter overflows ( more					   than 255 freezes ) */#define FS_ERR_FREEZE_UNF		FSS_ERR_FREEZE_UNF 						/* The freeze counter underflows ( 				    	   more unfreeze than freeze commands 					   ) */#ifdef SYNCHRONOUS_FILE_SYSTEM_FTR#define FS_ERR_DELAY_OPER               FSS_ERR_DELAY_OPER                                        /* Erase operation ongoing */#endif#endif /* FS_HEC */

⌨️ 快捷键说明

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