_stat Structure st_mode Field Constants
Visual Studio 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
These constants are used to indicate file type in the st_mode field of the _stat structure.
The bit mask constants are described below:
|File type mask|
|Character special (indicates a device if set)|
|Read permission, owner|
|Write permission, owner|
|Execute/search permission, owner|