You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: