Hi I'm studying how to call linux system function using risc-v asm. Can anyone tell me how to call openat function.
I have already learned that the sequence of calling Open funciton:
put 1024 into a7.
put other arguments into a0~a6
use ecall to call open
But I fail to find openat's syscall number in syscall.h Can anyone help me with this.
Hi I'm studying how to call linux system function using risc-v asm. Can anyone tell me how to call openat function. I have already learned that the sequence of calling Open funciton:
But I fail to find openat's syscall number in syscall.h Can anyone help me with this.