开发者

accessing a file

On Linux, how can I make sure that my pr开发者_如何学编程ogram is the only one accessing a file?


I am not sure, but I believe you are referring to file locking. See this and this and don't forget this. Your display name is gcc but if you are doing this on windows, see LockFileEx.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜