logoalt Hacker News

rep_lodsb10/12/20241 replyview on HN

That's linking to Microsoft's C library in order to use printf. But of course you could do the same thing using just kernel32.dll functions.


Replies

Dwedit10/13/2024

The minimal print function on Win32 is WriteFile, using GetStdHandle to get the file handle for STD_OUTPUT_HANDLE.