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
How can I find out the size of a file, prior to reading it in?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Explain how do you list a file’s date and time?
Explain how can I remove the trailing spaces from a string?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What is this infamous null pointer, anyway?
By using C language input a date into it and if it is right?
What is chain pointer in c?
What is the difference between text and binary modes?
In C language what is a 'dangling pointer'?
What is equivalent to ++i+++j?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is a struct c#?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
how to build a exercise findig min number of e heap with list imlemented?