> I don't see why I would want to use libc
To make your code portable? Linux-only software is even worse than Windows-only
To make your code portable? Linux-only software is even worse than Windows-only
Because that's the stable public interface provided by pretty much every OS except Linux. On Linux, if you don't want to depend on the OS-supplied libc, you can use musl.