This struct provides a namespace for utility functions dealing with platform‐independent filesystem access.
Synopsis
Declared in <bdls_filesystemutil.h>
struct FilesystemUtil;
Type Aliases
Name |
Description |
|
|
|
Enums
Name |
Description |
Default growth increment for file operations. |
|
Enumeration of error codes returned by certain filesystem operations. |
|
Enumeration used to distinguish between different sets of actions permitted on an open file descriptor. |
|
Enumeration used to determine whether 'open' should open an existing file, or create a new file. |
|
Enumeration used to distinguish between different ways to handle the contents, if any, of an existing file immediately upon opening the file. |
|
Enumeration used to distinguish among different starting points for a seek operation. |
Static Member Functions
Name |
Description |
Close the specified |
|
Create any directories in the specified |
|
Create a private directory with the specified |
|
Create a new temporary directory with a name based on |
|
Create and open a new temporary file with a name based on |
|
Create a new temporary directory under |
|
Return |
|
Load into |
|
|
|
|
|
Return the file size limit for this process. |
|
|
|
Load into |
|
Load a valid path to the system temporary directory into |
|
Load into |
|
Grow the file with |
|
|
|
Return |
|
Return |
|
Acquire a lock for the file with the specified |
|
Construct a temporary file name by appending a suffix to |
|
Map a region of the file with |
|
Map a region of the file with |
|
Move the file or directory at |
|
Open the file at the specified |
|
Read |
|
Remove the file or directory at the specified |
|
Roll the file chain at |
|
Set the file pointer associated with |
|
Set the working directory of the current process to the specified |
|
Synchronize mapped memory at |
|
Set the size of the file referred to by |
|
Acquire a lock for the file with |
|
Release any lock this process holds on the file with |
|
Unmap the memory mapping with the specified |
|
Call |
|
Recursively visit files under |
|
Write |
Static Data Members
Name |
Description |
|
|
maximum representable file offset value |
|
minimum representable file offset value |
Created with MrDocs