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
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Can i use “int” data type to store the value 32768? Why?
Write a program to print all permutations of a given string.
What is typeof in c?
What is the purpose of clrscr () printf () and getch ()?
What are the various types of control structures in programming?
What is the use of sizeof?
Linked lists -- can you tell me how to check whether a linked list is circular?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
When a c file is executed there are many files that are automatically opened what are they files?
Why doesnt that code work?
Explain the red-black trees?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is the difference between strcpy() and memcpy() function in c programming?