iofunc_mount_init()
QNX SDP8.0C Library ReferenceAPIDeveloper
Initialize the IOFUNC_MOUNT_T structure
Synopsis:
#include <sys/iofunc.h>
int iofunc_mount_init ( IOFUNC_MOUNT_T * mountp,
const size_t size );
Arguments:
- mountp
- A pointer to the mount structure (typically a iofunc_mount_t structure) that you want to initialize.
- size
- The size of the mount structure, in bytes.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
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.
Returns:
0, or -1 if an error occurred (errno is set).
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: