_open_osfhandle函数

标签: , , ,

_open_osfhandle函数的作用跟_get_osfhandle函数相反,_open_osfhandle从文件句柄(file handle)获取文件描述符(file descriptor)。

int _open_osfhandle (
    intptr_t osfhandle,
    int flags 
);

参数

osfhandle 文件句柄

flags 允许的操作,可以是_O_APPEND、_O_RDONLY、_O_TEXT的组合。

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. VB6拾遗:内联汇编与CallWindowProc函数
  2. 关闭Windows 7中的ASLR
  3. WMI工具:WMI Event Viewer
  4. µTorrent Server初体验
  5. 一个复杂的VBS脚本问题——变量的变量

留下回复