Is there fmemopen() in MinGW

依然范特西╮ 提交于 2019-12-04 03:24:21

问题


I'm trying to compile some code that uses the fmemopen function in MinGW. I found out that this function is not available MinGW. I need a function equivalent to fmemopen().

Are there any alternative functions that I can use?


回答1:


there are no fmemopen equivalents on win32 because of missing functionality in the kernel, I think cygwin implements it using a temp file like this one: https://github.com/kespindler/python-tesseract/blob/master/util-fmemopen.c



来源:https://stackoverflow.com/questions/7307955/is-there-fmemopen-in-mingw

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!