fopen

来源:互联网 发布:黑马程序员讲师 编辑:程序博客网 时间:2024/05/17 21:56
文件由fopen_s_wfopen_s打开不能共享。(也就是别人无法读/写和访问)如果你确实想让他可以访问, use _fsopen,_wfsopen withthe appropriate sharing mode constant (例如, _SH_DENYNOfor read/write sharing).
原创粉丝点击