Is there fmemopen () in MinGW

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

Are there any alternative features that I can use?

+6
source share
1 answer

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

+4
source

Source: https://habr.com/ru/post/896639/


All Articles