I have read about sopen() function to open a file in shared mode. Here is the code.
/* Note that sopen() is not ANSI compliant */
file_handle = sopen"D:\\Study\\file.txt", O_RDWR, SH_DENYNO);
I am getting "-1" on file_handle and program is also getting crash.
Can u please help me out.