5 - System Calls Flashcards
Does the shell or GUI or command line do the interpreting of the commands? Comment on answer.
No, it just finds a file that matches the name and if it is an executable, it executes it. The file contains the instructions that carry out the actual “command”.
What does API stand for:
Application Programmer Interface.
Describe API’s
Programmers call a function (system function) in a library which invokes system calls. The programmer only needs to understand the system function by understanding its parameters and results.
What are system call codes a part of?
Part of the kernel.
What is a standard for System Calls and Library Procedure Calls?
POSIX, an interface implemented by many different operating systems.
Why not access the system calls directly?
Program portability. Also, actual system calls may be more detailed and more difficult to work with.