Hacker News new | ask | show | jobs
by radhitya 39 days ago
"raw syscalls only: no libc wrappers"

insane! i wonder how many times you have spent to learn about them!

2 comments

Like one time? It is like any other API. You look it up, study the parameters (in this case you need to look up in which register is what argument expected) and off it goes.
Honestly it's easier than you'd think! All the syscall numbers are in /usr/include/asm-generic/unistd.h (on linux), and you can read the man page for any of them.