#include <sw.h>
#include <fstream.h>
#include <hal.h>
#include <types.h>
Functions | |
| bool | fstream_read (S_FSTREAM *fs, iu8 *dst, iu8 len) |
| Read data from a stream. More... | |
| bool | fstream_write (S_FSTREAM *fs, iu8 *src, iu8 len) |
| Write data to a stream. More... | |
| bool | fstream_test (S_FSTREAM *fs, iu16 len) |
| This function tests, if enough space is available to read or write len bytes. More... | |
|
||||||||||||||||
|
Read data from a stream. Either this functions reads all data or nothing.
|
|
||||||||||||
|
This function tests, if enough space is available to read or write len bytes.
|
|
||||||||||||||||
|
Write data to a stream. This functions tries to write all or nothing.
|