How can I make sure that my program is the only one accessing a file? Ans. By using the sopen() function, you can open a file in shared mode and explicitly deny reading and writing permissions to any other program but yours. This task is accomplished by using the SH_DENYWR share...
See more
Download the Study24x7 App, so you can connect and collaborate.