Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/MountDirectory


Ignore:
Timestamp:
05/17/24 12:23:01 (6 months ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/File/MountDirectory

    v1 v1  
     1= MountDirectory =
     2Mount to a share
     3
     4{{{
     5bool MountDirectory(const char* dev, const char* mountPath, const char* options, const char* type = NULL);
     6bool MountDirectory(string& strDev, string& strMountPath, string& strOptions, const char* type = NULL);
     7bool MountDirectory(string& strDev, string& strMountPath, const char* options, const char* type = NULL);
     8bool MountDirectory(const char* dev, string& strMountPath, const char* options, const char* type = NULL);
     9}}}
     10
     11== Parameters ==
     12
     13 * path -
     14
     15== Return Value ==
     16
     17 * Returns true if successful
     18
     19== Remarks ==
     20
     21
     22== Examples ==
     23
     24{{{
     25if(MountDirectory("/dev/sda1", "/run/media/sda1", "umask=0007,gid=6") == true) {
     26  printf("Mounted successfully");
     27}
     28}}}
     29
     30
     31== See Also ==
     32
     33