5 - System Calls Flashcards

1
Q

Does the shell or GUI or command line do the interpreting of the commands? Comment on answer.

A

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”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does API stand for:

A

Application Programmer Interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe API’s

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are system call codes a part of?

A

Part of the kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a standard for System Calls and Library Procedure Calls?

A

POSIX, an interface implemented by many different operating systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why not access the system calls directly?

A

Program portability. Also, actual system calls may be more detailed and more difficult to work with.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly