|
|
|
|
|
by BatmanAoD
1550 days ago
|
|
Okay, here's the Linux syscalls(2) man page: https://man7.org/linux/man-pages/man2/syscalls.2.html The second sentence is: > System calls are generally not invoked directly, but rather via wrapper functions in glibc (or perhaps some other library). Okay, so we can't avoid C that way, but what's the "invoked directly" way? Well, it's syscall(2): https://man7.org/linux/man-pages/man2/syscall.2.html This man page actually reiterates what the other one, that you shouldn't be making syscalls directly! But in any case, what is `syscall()`? ...it's a C macro. So yeah, Linux does require programs to use C. You've just been isolated from it. |
|