3 ms·
> Linux doesn't have duplicate pairs of system calls for one-byte character strings and wide strings. Neither is Windows. These “DoSomethingA” APIs aren’t syst
by Const-me 7y ago
> Linux doesn't have duplicate pairs of system calls for one-byte character strings and wide strings.
Neither is Windows. These “DoSomethingA” APIs aren’t system calls, they’re translated into Unicode-only NtDoSomething system calls, implemented in the kernel by OS or kernel mode drivers as ZwDoSomething.
Windows system calls all operate on null-terminated arrays of 16-bit integers. It's a very clear model. Any interpretation of path names as characters is up to user space.