Except there are some platforms where you need to go through libc and the direct syscall interface is considered private, or subject to change. OpenBSD is like this, and I believe Mac is too.
Linux is the only one that is not like this. I wrote an article about the subject:
https://www.matheusmoreira.com/articles/linux-system-calls
Linux is the only one that is not like this. I wrote an article about the subject:
https://www.matheusmoreira.com/articles/linux-system-calls