next up previous contents index
Next: 5.1.4 setsize: Set the Up: 5.1 oskit_absio: Absolute I/O Previous: 5.1.2 write: Write to

5.1.3 getsize: Get the size of this object

 

SYNOPSIS

#include <oskit/io/absio.h>

OSKIT_COMDECL oskit_absio_getsize(oskit_absio_t *f, [out] oskit_off_t *out_size);

DESCRIPTION

This method returns the current size of this object in bytes.

PARAMETERS

f
The object whose size is desired.
out_size
The current size in bytes of this object.

RETURNS

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



University of Utah Flux Research Group