what is the difference between. system call and library
function?
Answer Posted / eng abedalmohdi almomani
system call can be called from either kernel space or user
space(in this case include switch to privilage mode) and
executed in kernel space while library called only from
user programm and may call systemcall to perform it is
function like "printf" that need "write" system call while
other not need kernel at all like sin(),cos().....
systemcall examples : write,read,close,mmap,open,.......
library examples: fopen,fclose,printf,scanf,fscanf,.....
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
What is the usage of the pointer in c?
Explain what is the difference between text files and binary files?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
while initialization of array why we use a[][2] why not a[2][]...?
Explain how do you declare an array that will hold more than 64kb of data?
Define circular linked list.
What is the difference between null pointer and wild pointer?
Differentiate Source Codes from Object Codes
What is the -> in c?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is the benefit of using #define to declare a constant?
Are c and c++ the same?
Is it cc or c in a letter?
write a program to find the given number is prime or not