XFusion API v1.3.0
|
(暂未使用)基于 xf_hal_driver 的 posix 实现。 更多...
#include "xf_hal_kernel_config.h"
#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 实现。
在文件 xf_hal_posix.h 中定义.
#define O_RDONLY 0x00 |
在文件 xf_hal_posix.h 第 36 行定义.
#define O_WRONLY 0x01 |
在文件 xf_hal_posix.h 第 37 行定义.
#define O_RDWR 0x02 |
在文件 xf_hal_posix.h 第 38 行定义.
int open | ( | const char * | pathname, |
int | flags | ||
) |
在文件 xf_hal_posix.c 第 55 行定义.
int ioctl | ( | int | fd, |
unsigned long | request, | ||
... | |||
) |
在文件 xf_hal_posix.c 第 106 行定义.
size_t write | ( | int | fd, |
const void * | buf, | ||
size_t | count | ||
) |
在文件 xf_hal_posix.c 第 133 行定义.
size_t read | ( | int | fd, |
void * | buf, | ||
size_t | count | ||
) |
在文件 xf_hal_posix.c 第 154 行定义.
int close | ( | int | fd | ) |
在文件 xf_hal_posix.c 第 175 行定义.