#include <BoardConsole.h>
#include <string.h>
#include <FreeRTOS.h>
#include <semphr.h>
#include <unistd.h>
#include "fio.h"
#include "filesystem.h"
#include "osdebug.h"
#include "hash-djb2.h"
Go to the source code of this file.
|
| __attribute__ ((constructor)) |
|
struct fddef_t * | fio_getfd (int fd) |
|
int | fio_is_open (int fd) |
|
int | fio_open (fdread_t fdread, fdwrite_t fdwrite, fdseek_t fdseek, fdclose_t fdclose, void *opaque) |
|
ssize_t | fio_read (int fd, void *buf, size_t count) |
|
ssize_t | fio_write (int fd, const void *buf, size_t count) |
|
off_t | fio_seek (int fd, off_t offset, int whence) |
|
int | fio_close (int fd) |
|
void | fio_set_opaque (int fd, void *opaque) |
|
void | register_devfs () |
|
#define stderr_hash 0x7FA058A3 |
#define stdin_hash 0x0BA00421 |
#define stdout_hash 0x7FA08308 |
__attribute__ |
( |
(constructor) |
) | |
|
Definition at line 34 of file fio.c.
struct fddef_t* fio_getfd |
( |
int |
fd) | |
|
Definition at line 42 of file fio.c.
int fio_is_open |
( |
int |
fd) | |
|
Definition at line 70 of file fio.c.
Definition at line 78 of file fio.c.
ssize_t fio_read |
( |
int |
fd, |
|
|
void * |
buf, |
|
|
size_t |
count |
|
) |
| |
Definition at line 96 of file fio.c.
off_t fio_seek |
( |
int |
fd, |
|
|
off_t |
offset, |
|
|
int |
whence |
|
) |
| |
void fio_set_opaque |
( |
int |
fd, |
|
|
void * |
opaque |
|
) |
| |
ssize_t fio_write |
( |
int |
fd, |
|
|
const void * |
buf, |
|
|
size_t |
count |
|
) |
| |