Replies: 2 comments 4 replies
-
I hope that helped. |
Beta Was this translation helpful? Give feedback.
-
Looks like |
Beta Was this translation helpful? Give feedback.
-
I hope that helped. |
Beta Was this translation helpful? Give feedback.
-
Looks like |
Beta Was this translation helpful? Give feedback.
-
I got a code snipped from that reply in another post and it seems really cool that we can use the "extern" keyword to use system calls directly without having to write any assembly. However, I want to make some questions.
Finally I tried to implement my own "sys_open" based on the system call I saw in the link I gave you and it doesn't work. Maybe I'm blind and I can't find the bug but can you look at it and explain me all that stuff if you can?
Code:
Edit:
Found the issue! The updated code that works below:
Beta Was this translation helpful? Give feedback.
All reactions