Fill in the LO-status structure
After mi_lo_stat() has a pointer to a valid LO-status structure, it fills this structure with the status information for the open smart large object. You pass an LO file descriptor of the open smart large object as an argument to the mi_lo_stat() function.
After the execution of mi_lo_stat() in Figure 1, the LO_stat variable
points to an allocated LO-status structure that contains status information
for the smart large object that the LO file descriptor, LO_fd,
identifies.
Important: Before you use an LO-status structure,
make sure that you either call mi_lo_stat() with
the LO-status pointer set to NULL or initialize this pointer with
a previous call to mi_lo_stat().
For more information, see Table 1. For the syntax of the mi_lo_stat() function, see the IBM® Informix® DataBlade API Function Reference.