_fsopen
Opens a stream with file sharing.
FILE *_fsopen(
const char *filename,
const char *mode,
int shflag
);
filename
Name of the file to open.
mode
Type of access permitted.
shflag
Type of sharing allowed.
_SH_COMPAT
Sets Compatibility mode for 16-bit applications.
_SH_DENYNO
Permits read and write access.
_SH_DENYRD
Denies read access to the file.
_SH_DENYRW
Denies read and write access to the file.
_SH_DENYWR
Denies write access to the file.