Clean up the IOFUNC_MOUNT_T structure
#include <sys/iofunc.h> int iofunc_mount_fini( IOFUNC_MOUNT_T * const mountp );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iofunc_mount_fini() function undoes the actions of iofunc_mount_init() and related functions (for example, iofunc_mount_set time()).
To avoid memory or other resource leaks, call this function if you call iofunc_mount_init().
This function does not release the memory used for the IOFUNC_MOUNT_T structure itself.
0, or -1 if an error occurred (errno is set).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |