next up previous contents index
Next: 4.8.3 seek: Change the Up: 4.8 oskit_stream: standard interface Previous: 4.8.1 read: Read from

4.8.2 write: Write to this stream, starting at the seek pointer

 

SYNOPSIS

#include <oskit/com/stream.h>

OSKIT_COMDECL oskit_stream_write(oskit_stream_t *f, const void *buf, oskit_u32_t len, [out] oskit_u32_t *out_actual);

DESCRIPTION

This method writes no more than len bytes from buf into this stream, starting at the current seek pointer of this stream. out_actual is set to the actual number of bytes written.

PARAMETERS

f
The object to which to write.
buf
The buffer from which the data is to be copied.
len
The maximum number of bytes to write.
out_actual
The actual number of bytes written.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group