Updated: October 28, 2024 |
#include <aoi.h> int64_t (*Write)(void *ctx, const void *buf, int64_t num);
This function should write num bytes to the stream at the stream's current file position.
The number of bytes succesfully written to the stream, or -1 if an error occurred.