Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write a program on swapping (100, 50)

1131


What is an lvalue?

1065


Differentiate between new and malloc(), delete and free() ?

1187


Explain what is a program flowchart and explain how does it help in writing a program?

1100


What are data types in c language?

1059


Why & is used in scanf in c?

1102


Why is python slower than c?

1094


Can a variable be both constant and volatile?

1127


What is the difference between void main and main in c?

1157


When the macros gets expanded?

1428


What is pointer to pointer in c with example?

1080


Where does the name "C" come from, anyway?

1175


What are the advantages of union?

1071


find the sum of two matrices and WAP for it.

1143


what do u mean by Direct access files? then can u explain about Direct Access Files?

2096