Why don't we use the CRT functions under Windows?

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sun May 23 02:48:11 UTC 2021


On Sunday, 23 May 2021 at 00:13:51 UTC, Steven Schveighoffer 
wrote:
> It so happens that the CRT functions for something like unlink 
> and rename *are* the system calls on Unix. On windows, they are

They are wrappers on unix too, but the cost is low as the context 
switch overhead is so large that it makes the wrapper cost 
neglible. On mac there is no ABI guarantees if you dont use the 
wrappers IIRC.



More information about the Digitalmars-d mailing list