what is the difference between. system call and library
function?
Answer Posted / vishnu948923
system calls are provided by the system and are executed in
the system kernel. They are entry points into the kernel and
are therefore NOT linked into your program. These are not
portable calls.
ยท Library calls include the ANSI C standard library and
are therefore portable. These functions are linked into your
program.
It is worth noting that, because system calls are part of
the O/S. The program has to make a context switch to the
kernel when they are called and because of this, they have a
high startup overhead. The upside is that the time executing
these routines is assigned to the OS and not the user program.
Is This Answer Correct ? | 66 Yes | 9 No |
Post New Answer View All Answers
Explain what is the heap?
write a program to generate address labels using structures?
what is the diffrenet bettwen HTTP and internet protocol
What is the difference between functions abs() and fabs()?
What are pointers? What are stacks and queues?
How can I send mail from within a c program?
What is a char in c?
What is sizeof int in c?
What are the benefits of c language?
Why c is a mother language?
What are runtime error?
When a c file is executed there are many files that are automatically opened what are they files?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is the purpose of void in c?
What is floating point constants?