SH_xxxx #defines
Remonter à Share.h - Index
Header File
share.h
Description
File-sharing mode for use with sopen.
SH_COMPAT |
Sets compatibility mode: |
Allows other opens with SH_COMPAT. The call will fail if the file has already been opened in any other shared mode. | |
SH_DENYNONE |
Permits read/write access |
Allows other shared opens to the file, but not other SH_COMPAT opens | |
SH_DENYNO |
Permits read/write access (provided for compatibility) |
SH_DENYRD |
Denies read access. Allows only writes from any other open to the file |
SH_DENYRW |
Denies read/write access. Only the current handle may have access to the file |
SH_DENYWR |
Denies write access. Allows only reads from any other open to the file |
O_NOINHERIT |
The file is not passed to child programs |
These file-sharing attributes are in addition to any locking performed on the files.