#include "sceptre.h"
#include "device.h"
Go to the source code of this file.
Functions | |
_ssize_t | _write_r (struct _reent *p_reent, int fd, const void *p_data, size_t data_size) |
newlib - write.
Definition in file write_r.c.
_ssize_t _write_r | ( | struct _reent * | p_reent, | |
int | fd, | |||
const void * | p_data, | |||
size_t | data_size | |||
) |
This function has to be implemented if you want to use fwrite in your programs.
p_reent | Pointer to a structure that will receive the return value. | |
fd | Handle of file to write to. | |
p_data | Pointer to data to write. | |
data_size | Number of bytes to write. |