zig/lib/std/os/windows
Andrew Kelley cfffb9c5e9
improve handling of environment variables on Windows
std.os.getenv and std.os.getenvZ have nice compile errors when not linking
libc and using Windows.

std.os.getenvW is provided as a Windows-only API that does not require
an allocator. It uses the Process Environment Block.
std.process.getEnvVarOwned is improved to be a simple wrapper on top of
std.os.getenvW.

std.process.getEnvMap is improved to use the Process Environment Block
rather than calling GetEnvironmentVariableW.

std.zig.system.NativePaths uses process.getEnvVarOwned instead of
std.os.getenvZ, which works on Windows as well as POSIX.
2020-02-22 17:35:36 -05:00
..
advapi32.zig Implement the callconv() annotation 2020-01-02 18:53:16 +01:00
bits.zig improve handling of environment variables on Windows 2020-02-22 17:35:36 -05:00
kernel32.zig windows: Minor changes to psapi prototypes 2020-02-01 13:43:46 -05:00
lang.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
ntdll.zig implement os.faccessat for Windows 2020-02-16 17:10:43 -05:00
ntstatus.zig NTSTATUS is a non-exhaustive enum 2020-01-31 22:33:17 +11:00
ole32.zig Implement the callconv() annotation 2020-01-02 18:53:16 +01:00
psapi.zig Revert "windows: remove the 'A' versions of psapi functions" 2020-02-10 12:30:20 -05:00
shell32.zig Merge branch 'std-utf16-sentinel-terminated' of https://github.com/daurnimator/zig 2020-01-07 16:13:34 -05:00
sublang.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
win32error.zig Turn win32 errors into a non-exhaustive enum 2020-01-31 22:33:55 +11:00
ws2_32.zig Winsock errors can be an enum 2020-02-01 14:29:16 -05:00