Question:
What are system calls give examples also?
Answer:
System calls are built on top of the operating system.They are interact with kernel area of a operating system.they can also interact with the hardware part of a system like keyboard,mouse,printer,cpu etc
open()---->this is a system call which is used to open and create a file,and it returns a file descriptor.
read,seek,fork are common system call Source: CoolInterview.com
Answered by: priitsh | Date: 9/2/2008
| Contact priitsh
An interface between the operating system and a process that allows a process to invoke operating system functions. Source: CoolInterview.com
Answered by: Edwin Onyuro | Date: 10/31/2008
| Contact Edwin Onyuro
System call is a command that know computer hardware. Source: CoolInterview.com
Answered by: ashu | Date: 1/5/2010
| Contact ashu
process control file management device management information maintanence communication Source: CoolInterview.com
Answered by: mythili.k | Date: 5/1/2010
| Contact mythili.k
System Calls are used to access system resources. It transfer the control from user level to kernel level. When a user want to access a resource (momery,cpu time etc) it first request through a system call to OS than the OS will decide what to do next.
Common examples of system call are read(), write() etc. Source: CoolInterview.com
Answered by: saumitri | Date: 5/26/2010
| Contact saumitri
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|