#include <oskit/com/stream.h>OSKIT_COMDECL oskit_stream_commit(oskit_stream_t *f, oskit_u32_t commit_flags);
This method flushes all changes made to this stream object to the next level storage object.
- f
- The object to commit.
- commit_flags
- Conditions for performing the commit operation.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.