WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

write

Writes one or more bytes from memory to the file.
Returns the actual number of bytes written - which could be less than asked for if the disk has become full.
You can optionally change to a different position in the file by specifying a position - otherwise the write will continue on from the current position.
On completion the current position is updated for the next call.
Syntax
File. write(pos,len,src)
File. write(len,src)
 
Parameters
TypeNameDescription
'pos'
The position in the file.
'len'
The number of bytes to be transferred.
'src'
The starting address in memory of the data to be written to the file.
Returns
size_t

 

 

Valid XHTML 1.0 Transitional