• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/5

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

5 Cards in this Set

  • Front
  • Back
Why might we want to reduce number of system calls used?
Simplifies design and reduces error. Also may be restricted in 'sandbox' execution. Switching context from process to kernel is expensive.
How can we reduce 'expense' of system calls?
Parameters are first checked within the library.
Describe the way system calls report errors.
Unsuccessful system calls return non-zero integer associated with error info.
Where are system call error returns defined?
errno.h
What function can we use to provde consistent error reporting?
perror()