Unmount a filesystem
#include <sys/mount.h>
int umount( const char* dir,
int flags);
libc
The umount() function sends a request to the server to unmount the path described by dir. Currently, the only valid value for flags is:
-1 on failure.
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
Writing a Resource Manager in Programmer's Guide