ufat_fcntl.h

来自「凌阳SPCE3200多媒体开发板自带源程序。共安排了32个子目录」· C头文件 代码 · 共 25 行

H
25
字号
#ifndef	__UFAT_FCNTL_h__
#define	__UFAT_FCNTL_h__



/* open flags */
#ifndef INCLUDE_PLATFORM_ECOS
    #define O_RDONLY	(0x00u)
    #define O_WRONLY	(0x01u)
    #define O_RDWR		(0x02u)
    #define O_ACCMODE	(0x03u)
    #define O_TRUNC		(0x0400u)
    #define O_CREAT		(0x0200u)
    #define O_EXCL		(0x0800u)
    //#define O_OPEN		(0x20u)
    //#define O_FCB		(0x80u)
#else
    #include "fcntl.h" 
#endif //#ifndef INCLUDE_PLATFORM_SPHE1001

#define O_OPEN          0x1000
#define O_FCB           0x2000

#endif //#ifndef	__UFAT_FCNTL_h__

⌨️ 快捷键说明

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