Updated: April 19, 2023 |
Initialize the IOFUNC_MOUNT_T structure
#include <sys/iofunc.h> int iofunc_mount_init ( IOFUNC_MOUNT_T * mountp, const size_t size );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iofunc_mount_init() function initializes the IOFUNC_MOUNT_T structure to a default state. For more information about the structure, see iofunc_mount_t.
Because this function sets both the flags and conf fields, when you add it, ensure that any existing or additional code does not unintentionally overwrite the contents of these fields.
0, or -1 if an error occurred (errno is set).
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |