marlersoft / zigwin32

Zig bindings for Win32 generated by https://github.com/marlersoft/zigwin32gen
MIT License
234 stars 30 forks source link

missing io.h functions and io.zig ~~(falsely)~~ however others are included from ioapiset.h #13

Closed matu3ba closed 1 year ago

matu3ba commented 2 years ago

I was searching for _open_osfhandle and _get_osfhandle, which are both defined in io.h. Both are not includes in zigwin32 in system/io.zig and neither elsewhere.

The generated Zig code of system/io.zig corresponds to lib/libc/include/any-windows-any/ioapiset.h.

Should I report this as an upstream issue?

matu3ba commented 1 year ago

CRT is separate from the Windows SDK and is not in scope for this metadata.

Thus closing.