- We've been using the C standard library to access OS functionality,
but that's just calling functions made of normal code.
- In order to do things, these library functions need to call into the
- This is done with the syscall instruction, which works a lot like
the call instruction.
- The Linux kernel exposes about 300 syscalls.
List of Syscalls
Standard file descriptors:
Write the equivilent lines.c