Is there fmemopen() in MinGW
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? 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