How do system calls work?

前端 未结 6 493
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 20:02

I understand that a user can own a process and each process has an address space (which contains valid memory locations, this process can reference). I know that a process can c

6条回答
  •  时光说笑
    2021-01-29 20:20

    Yes, you've got it pretty much right. One detail though, when the compiler compiles a system call, it will use the number of the system call rather than the name. For example, here is a list of Linux syscalls (for an old version, but the concept is still the same).

提交回复
热议问题