[Previous] [Contents] [Index] [Next]

umount()

Unmount a filesystem

Synopsis:

#include <sys/mount.h>

int umount( const char* dir, 
            int flags);

Library:

libc

Description:

The umount() function sends a request to the server to unmount the path described by dir. Currently, the only valid value for flags is:

_MOUNT_FORCE
Force an unmount to occur.

Returns:

-1 on failure.

Classification:

QNX 6

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

mount()

Writing a Resource Manager in Programmer's Guide


[Previous] [Contents] [Index] [Next]