MinGW中有fmemopen()吗? [英] Is there fmemopen() in MinGW

查看:259
本文介绍了MinGW中有fmemopen()吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译一些使用 fmemopen 在MinGW中的功能。我发现这个功能不可用MinGW。我需要一个相当于 fmemopen()的函数。

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?

推荐答案

在win32上没有fmemopen的等价物,因为在内核中缺少的功能,我想cygwin使用像这样的临时文件来实现它: https://github.com/sightmachine/python-tesseract/blob/master/util-fmemopen.c

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/sightmachine/python-tesseract/blob/master/util-fmemopen.c

这篇关于MinGW中有fmemopen()吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆