#include "sceptre.h"
#include "device.h"
#include <stdio.h>
Go to the source code of this file.
Functions | |
_ssize_t | _read_r (struct _reent *p_reent, int fd, _PTR p_dst, size_t dst_size) |
newlib - read.
Definition in file read_r.c.
_ssize_t _read_r | ( | struct _reent * | p_reent, | |
int | fd, | |||
_PTR | p_dst, | |||
size_t | dst_size | |||
) |
This function has to be implemented if you want to use fread in your programs.
p_reent | Pointer to a structure that will receive the return value. | |
fd | Handle of file to read from. | |
p_dst | Address to write the data to. | |
data_size | Number of bytes to read. |