What is System Call and types of System Call
System Call
System Calls, Process एवं Operating System के मध्य Interface की तरह कार्य करता है | System Calls को Assembly Language Instruction के रूप में Assembly Level Programmer के द्वारा लिखा जाता है | System Calls को तब Implement किया जाता है जब User Mode में Currently Executing Process को Required Resource को Access करने की आवश्यकता होती है | Process के द्वारा System Calls के माध्यम से Resources के लिए Kernel के पास Request Send की जाती है |

Process Normally User Mode में Execute होता है जब तक कोई System Call से Related Interrupt Generate नहीं होता है | System call Kernel Mode में Priority के Basis पर Execute होती है | System Call Execute होने के बाद Control User Mode में Return हो जाता है |
सामान्यतः निम्नलिखित परिस्थिति में System Call की आवश्यकता की होती है –
- File System को File Create अथवा Delete करने तथा File से Data Read एवं Write करने के लिए System Call की आवश्यकता होती है |
- Process System को Process Create करने अथवा Process management के लिए System Call आवश्यकता होती है |
- Network Connection को Packet को Send व Receive करने के लिए System Call की आवश्यकता होती है |
- hardware Device (Printer, Scanner etc.) को Access करने System Call की आवश्यकता होती है |
Types of System Call System Call पांच प्रकार की होती है, जो निम्नलिखित हैं –
1. Process Control
Process Control System Call Process से Related Operation (Process Creation. Process Termination etc.) से Deal करते है |
2. File Management
File Management System Call File से Related Operation (creating a File, reading a file, writing data into a file) के लिए Responsible होती है |
3. Device Management
Device Management System Call Device से Related Operation (reading from device buffer, writing into device buffer etc.) के लिए Responsible होती है |
4. Information Maintenance
Information Maintenance System Calls, Operating System एवं User Program के बीच Transfer होने वाली Information को Handle करती है |
5. Communication
Communication System call का Use intercrosses communication में मुख्यतः किया जाता है | ये Communication connection के Creation एवं Deletion को भी Handle करती है |