2022年3月20日

fopen、open及CreatFile()的区别

摘要: open是UNIX系统调用函数(包括LINUX等),返回的是文件描述符(File Descriptor),它是文件在文件描述符表里的索引。 fopen是ANSIC标准中的C语言库函数,在不同的系统中应该调用不同的内核api(UNIX/Linux中是open,windows中是CreatFile)。返 阅读全文

posted @ 2022-03-20 21:24 lh03061238 阅读(315) 评论(0) 推荐(0) 编辑

有关ANSI C、ISO C、GNU C、POSIX C

摘要: 参考: https://segmentfault.com/a/1190000012461553 https://blog.csdn.net/weixin_44395686/article/details/104904172 https://blog.csdn.net/shenwansangz/art 阅读全文

posted @ 2022-03-20 17:22 lh03061238 阅读(82) 评论(0) 推荐(0) 编辑

导航