XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_hal_posix.h 文件参考

(暂未使用)基于 xf_hal_driver 的 posix 实现。 更多...

xf_hal_posix.h 的引用(Include)关系图:

浏览源代码.

#define O_RDONLY   0x00
 
#define O_WRONLY   0x01
 
#define O_RDWR   0x02
 
int open (const char *pathname, int flags)
 
int ioctl (int fd, unsigned long request,...)
 
size_t write (int fd, const void *buf, size_t count)
 
size_t read (int fd, void *buf, size_t count)
 
int close (int fd)
 

详细描述

(暂未使用)基于 xf_hal_driver 的 posix 实现。

作者
cangyu (sky.k.nosp@m.irto.nosp@m.@qq.c.nosp@m.om)
版本
0.1
日期
2024-05-10

在文件 xf_hal_posix.h 中定义.

宏定义说明

◆ O_RDONLY

#define O_RDONLY   0x00

在文件 xf_hal_posix.h36 行定义.

◆ O_WRONLY

#define O_WRONLY   0x01

在文件 xf_hal_posix.h37 行定义.

◆ O_RDWR

#define O_RDWR   0x02

在文件 xf_hal_posix.h38 行定义.

函数说明

◆ open()

int open ( const char *  pathname,
int  flags 
)

在文件 xf_hal_posix.c55 行定义.

◆ ioctl()

int ioctl ( int  fd,
unsigned long  request,
  ... 
)

在文件 xf_hal_posix.c106 行定义.

◆ write()

size_t write ( int  fd,
const void *  buf,
size_t  count 
)

在文件 xf_hal_posix.c133 行定义.

◆ read()

size_t read ( int  fd,
void *  buf,
size_t  count 
)

在文件 xf_hal_posix.c154 行定义.

◆ close()

int close ( int  fd)

在文件 xf_hal_posix.c175 行定义.