SYNOPSIS
#include <unistd.h>
int umount(int const char *file);
DESCRIPTION
The
EXAMPLES
The command:
umount("r:/")
unmounts any volume, subst, or network share on r:/ and leaves r:/ as an unused drive letter.
The command:
umount("//?/Volume{2a537b5c-924e-11d7-a242-806e6f6e6963}/");
unmounts //?/Volume{2a537b5c-924e-11d7-a242-806e6f6e6963}/ from every location it is mounted on.
PARAMETERS
RETURN VALUES
If successful,
- EFAULT
-
file is an invalid pointer.
- EINVAL
-
file contains an invalid character.
- EINVAL
-
file is not mounted.
- ENAMETOOLONG
-
The length of the file parameter exceeds PATH_MAX or a path name component is longer than NAME_MAX.
CONFORMANCE
UNIX 98, with exceptions.
PORTING ISSUES
Block special devices do not exist under Windows; however, there are several
types of paths which can be specified that serve the same purpose as a mount
point in
The
The
SEE ALSO
- Functions:
mount()
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.5 Documentation Build 40.