Exploring OS Interfaces: User and Programmer
Complete exercises at:
In a concise presentation:
- Explain the concept of system calls, system call wrappers, and APIs.
- Explain the difference between the user interface to the OS (shell, CLI) and the programmer interface to the OS (system calls, APIs).
- Use
straceto discover the system calls invoked by the sample program. - Show the same task performed via the shell (bash), and identify which
system calls bash ultimately invokes (e.g., via
strace bash -c ...). - Discuss the categories of system calls observed in both cases.
- Discuss lessons learned, errors made, and challenges encountered.