開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
windows
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
不要用
問題(Question):
在windows上 有沒有api與 fopen64一致的函數呢
查了資料 只能用windows 原生的
CreateFile SetFilePointerEx CloseHandle ReadFileEx
這類函數
這些函數的引數/操作與fopen fseek fclose等 差別相當大
造成跨平台代碼要寫一大串 相當不簡潔
自己包成fopen..等 又極可能不完備
那請問在windows上有直接與fopen64映射的函數嗎 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.240.161.219
※ 文章網址: http://www.ptt.cc/bbs/C_and_CPP/M.1416541242.A.B9F.html
※ 編輯: KILLE (111.240.161.219), 11/21/2014 11:42:49
→
11/21 20:09, , 1F
11/21 20:09, 1F
→
11/21 21:24, , 2F
11/21 21:24, 2F
→
11/21 21:24, , 3F
11/21 21:24, 3F
→
11/21 21:26, , 4F
11/21 21:26, 4F