SPL File Functions.spl
Content
- Functions
-
- space(rstring, Types.SpaceInfo, int32): Returns space information about a mounted file system.
Functions
boolean space(rstring path, Types.SpaceInfo spaceInfo, int32 errorCode)
Returns space information about a mounted file system.
See the Boost documentation for more details: boost::filesystem::space
Parameters
- path: Specifies the path name of any file within the mounted file system.
- spaceInfo: If the function succeeds, it stores the disk space information in this return parameter. In case of failure, the values stay unchanged
- errorCode: If the function fails, it stores the error code value in this return parameter.
Returns
- On success, true is returned. On error, false is returned, and errorCode is set appropriately (errno).