core/newlib/write_r.c File Reference

#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)

Detailed Description

newlib - write.

Definition in file write_r.c.


Function Documentation

_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.

Parameters:
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.
Returns:
Number of bytes written on success, -1 on failure.

Definition at line 19 of file write_r.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Defines

Generated by  doxygen 1.6.2