SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
Presentation On:

SYSTEM CALLS
Reference Book :

Operating System Organisation With Special
Reference To UNIX
By Satyapriya Bhattacharjee
Presented by;
Bernard Senam Parkoo
MSc. II, DOS In Computer Science
Presentation Outline
• What are System Calls
• Scenario of System Calls
• How a System Call Occurs
• Methods of Passing Parameters to the OS
• Categories of System Calls
What are System Calls
• System Calls provide the Interface between a
process and the Operating System.
• These calls are generally available as Assembly
language instruction.
• System Calls can also be made directly through
HLL programs for certain systems.

• UNIX System calls can be invoked directly from a
C or C++ program.
Scenario of System Calls
An Example of how system calls are used.
• Consider a simple program to copy data from one
file to another file .
• The first input of the program will be the name of
both files.
• These names can be specified depending on the
design of Operation System
• Once the file names are obtained, the program
opens an input file and create an output file
• Each of this operations require other System calls
and may encounter possible error conditions.
How System Calls Occur.
System Calls occur in different ways depending on the
computer in use:
• More information is required than just the identify of the
desired System call.
• The exact type and amount of information varies
according to the operation system and call
• For instance to get an input we need to specify the file of
device to use as source and the address and length of
memory buffer into which the input should be read.
Methods of Passing Parameters to
Operating System
Three methods are used in passing parameters to the
operation system.
• The simplest is approach is to pass parameter
through registers.
• The second is by storing parameters in blocks and
passing the address through registers.
• Finally parameter can be pushed into stack by the
program and popped of by the Operating System.
Categories of System Calls
System calls can be grouped into five major
categories as follows.
•
•
•
•
•

Process control
File management.
Device management
Information Maintenance and
Communication.
Process control
Some system calls under process control are:

•
•
•
•
•
•

End, abort
Load, execute
Create process, terminate process
Get process, terminate process
Wait for time
Allocate and free memory
File management.
Some system calls under file management are:
•
•
•
•

Create file, delete file
Open , close
Read, write, reposition.
Get file attributes, set fil attributes
Device management
Some system calls under device management are:
•
•
•
•

Request Device, release device
Read, write, reposition.
Get device attributes and set device attributes
Logically attach or detach devices
Information Maintenance
Some system calls under information maintenance
are:
•
•
•
•
•
•

Get time or date, Set time of date
Logically attach or detach devices
Information maintenance
Get system data, Set Systems data
Get process, file of device attributes
Set process, file or device attributes
Communication
•
•
•
•

Create, delete communication connection.
Send, receive messages
Transfer status information
Attach or detach remote devices.
The End

More Related Content

PDF
operating system structure
PPT
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
PPT
System call
PPT
Operating system services 9
PPTX
Cpu scheduling in operating System.
PPTX
System call
PDF
OS - Process Concepts
PPTX
Introduction to Operating Systems
operating system structure
OPERATING SYSTEM SERVICES, OPERATING SYSTEM STRUCTURES
System call
Operating system services 9
Cpu scheduling in operating System.
System call
OS - Process Concepts
Introduction to Operating Systems

What's hot (20)

PPT
Disk scheduling
PPTX
DeadLock in Operating-Systems
PPT
Introduction to System Calls
PPTX
DBMS - RAID
PPTX
Memory management ppt
PPTX
File system structure
PPTX
Process synchronization in Operating Systems
PPTX
Directory structure
PPT
Thrashing allocation frames.43
PPT
Os Threads
PPT
Paging.ppt
PPTX
Memory Management in OS
PPTX
Deadlock ppt
PPTX
Threads (operating System)
PPTX
CPU Scheduling in OS Presentation
PPTX
File allocation methods (1)
PPT
process creation OS
PPTX
Process scheduling
PDF
Disk allocation methods
PPT
Scheduling algorithms
Disk scheduling
DeadLock in Operating-Systems
Introduction to System Calls
DBMS - RAID
Memory management ppt
File system structure
Process synchronization in Operating Systems
Directory structure
Thrashing allocation frames.43
Os Threads
Paging.ppt
Memory Management in OS
Deadlock ppt
Threads (operating System)
CPU Scheduling in OS Presentation
File allocation methods (1)
process creation OS
Process scheduling
Disk allocation methods
Scheduling algorithms
Ad

Similar to System calls (20)

PPTX
systemcalls-140128115701-phpapBNBNBBNBNN NNNBp02.pptx
PPTX
System call
PPTX
2_System Calls.pptx
PPTX
Operating system
PPTX
Operating system 11 system calls
PDF
CH02.pdf
PPTX
Chapter No 2 Services and Components of Operating System.pptx
PPT
operating system introduction and organization
PDF
02_os_structures.pdfbnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
PPT
ch2_OS Structures.ppt To discuss the various ways of structuring an operatin...
PPTX
Lecture_02_Operating System Structures Operating Systems
PPTX
systemcall-210504161208.pptx nn n n n nnnnnmn
PPTX
System Calls in operation system for the explanation
PPTX
PPTX
System call
PPTX
OS SERVICES.pptxJGHHHHHHHHHHHHHHHHGGGGGGGG
PDF
System Structure Notes : comprehensive study
PPTX
System Calls.pptx
PPT
System Calls and Components of OS . ppt
PPTX
Design Of Operating System_Lecture_OS_2.pptx
systemcalls-140128115701-phpapBNBNBBNBNN NNNBp02.pptx
System call
2_System Calls.pptx
Operating system
Operating system 11 system calls
CH02.pdf
Chapter No 2 Services and Components of Operating System.pptx
operating system introduction and organization
02_os_structures.pdfbnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
ch2_OS Structures.ppt To discuss the various ways of structuring an operatin...
Lecture_02_Operating System Structures Operating Systems
systemcall-210504161208.pptx nn n n n nnnnnmn
System Calls in operation system for the explanation
System call
OS SERVICES.pptxJGHHHHHHHHHHHHHHHHGGGGGGGG
System Structure Notes : comprehensive study
System Calls.pptx
System Calls and Components of OS . ppt
Design Of Operating System_Lecture_OS_2.pptx
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Electronic commerce courselecture one. Pdf
PDF
KodekX | Application Modernization Development
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Advanced IT Governance
PDF
NewMind AI Monthly Chronicles - July 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Review of recent advances in non-invasive hemoglobin estimation
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25 Week I
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Electronic commerce courselecture one. Pdf
KodekX | Application Modernization Development
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Advanced IT Governance
NewMind AI Monthly Chronicles - July 2025
The AUB Centre for AI in Media Proposal.docx
Review of recent advances in non-invasive hemoglobin estimation

System calls

  • 1. Presentation On: SYSTEM CALLS Reference Book : Operating System Organisation With Special Reference To UNIX By Satyapriya Bhattacharjee Presented by; Bernard Senam Parkoo MSc. II, DOS In Computer Science
  • 2. Presentation Outline • What are System Calls • Scenario of System Calls • How a System Call Occurs • Methods of Passing Parameters to the OS • Categories of System Calls
  • 3. What are System Calls • System Calls provide the Interface between a process and the Operating System. • These calls are generally available as Assembly language instruction. • System Calls can also be made directly through HLL programs for certain systems. • UNIX System calls can be invoked directly from a C or C++ program.
  • 4. Scenario of System Calls An Example of how system calls are used. • Consider a simple program to copy data from one file to another file . • The first input of the program will be the name of both files. • These names can be specified depending on the design of Operation System • Once the file names are obtained, the program opens an input file and create an output file • Each of this operations require other System calls and may encounter possible error conditions.
  • 5. How System Calls Occur. System Calls occur in different ways depending on the computer in use: • More information is required than just the identify of the desired System call. • The exact type and amount of information varies according to the operation system and call • For instance to get an input we need to specify the file of device to use as source and the address and length of memory buffer into which the input should be read.
  • 6. Methods of Passing Parameters to Operating System Three methods are used in passing parameters to the operation system. • The simplest is approach is to pass parameter through registers. • The second is by storing parameters in blocks and passing the address through registers. • Finally parameter can be pushed into stack by the program and popped of by the Operating System.
  • 7. Categories of System Calls System calls can be grouped into five major categories as follows. • • • • • Process control File management. Device management Information Maintenance and Communication.
  • 8. Process control Some system calls under process control are: • • • • • • End, abort Load, execute Create process, terminate process Get process, terminate process Wait for time Allocate and free memory
  • 9. File management. Some system calls under file management are: • • • • Create file, delete file Open , close Read, write, reposition. Get file attributes, set fil attributes
  • 10. Device management Some system calls under device management are: • • • • Request Device, release device Read, write, reposition. Get device attributes and set device attributes Logically attach or detach devices
  • 11. Information Maintenance Some system calls under information maintenance are: • • • • • • Get time or date, Set time of date Logically attach or detach devices Information maintenance Get system data, Set Systems data Get process, file of device attributes Set process, file or device attributes
  • 12. Communication • • • • Create, delete communication connection. Send, receive messages Transfer status information Attach or detach remote devices.