Close()

Updated: April 19, 2023

Synopsis:

#include <aoi.h>

int32_t (*Close)(AOIStream_t *sobj);

Arguments:

sobj
The stream you want to close.

Description:

This function should close the stream and free any data allocated when it was opened.

Returns:

0 if successful, -1 if an error occurred.