SlideShare a Scribd company logo
K.HARIPRITHA
M.SC(IT)
NADAR SARASWATHI COLLEGE OF
ARTS AND SCIENCE
OPERATING SYSTEM
SYSTEM CALLS
 System call is the programmatic way in which
a computer program requests a service from
the kernel of the operating system it is
executed on.
 A system call is a way for programs
to interact with the operating system.
 A computer program makes a system call
when it makes a request to the operating
system’s kernel.
 System call provides the services of the
operating system to the user programs via
Application Program Interface(API).
 It provides an interface between a process and
operating system to allow user-level processes to
request services of the operating system.
 System calls are the only entry points into the
kernel system. All programs needing resources
must use system calls.
Types of System Calls
There are 5 different categories of system calls:

 Process control:
end, abort, create, terminate, allocate and free
memory.
 File management:
create, open, close, delete, read file etc.
 Device management
 Information maintenance
 Communication
 Process control
 end, abort
 load, execute
 create process, terminate process
 get process attributes, set process attributes
 wait for time
 wait event, signal event
 allocate and free memory
 File management
 create file, delete file
 open, close
 read, write, reposition
 get file attributes, set file attributes
 Device management
 request device, release device
 read, write, reposition
 get device attributes, set device attributes
 logically attach or detach devices
 Information maintenance
 get time or date, set time or date
 get system data, set system data
 get process, file, or device attributes
 set process, file, or device attributes
 Communications
 create, delete communication connection
 send, receive messages
 transfer status information
 attach or detach remote devices
PROCESS CONTROL
 A running program needs to be able to stop
execution either normally or abnormally.
When execution is stopped abnormally, often a
dump of memory is taken and can be
examined with a debugger.
FILE MANAGEMENT
 Some common system calls
are create, delete, read, write, reposition,
or close. Also, there is a need to determine the
file attributes – get and set file attribute. Many
times the OS provides an API to make these
system calls.
DEVICE MANAGENT
 Process usually require several resources to
execute, if these resources are available, they will
be granted and control returned to the user
process. These resources are also thought of as
devices.
 Some are physical, such as a video card, and
others are abstract, such as a file.
 User programs request the device, and when
finished they release the device. Similar to files,
we can read, write, and reposition the device.
INFORMATION MANAGEMENT
 Some system calls exist purely for transferring
information between the user program and the
operating system. An example of this is time,
or date.
 The OS also keeps information about all its
processes and provides system calls to report
this information
COMMUNICATION
 There are two models of interprocess
communication, the message-passing model
and the shared memory model.
 Message-passing uses a common mailbox to
pass messages between processes.
 Shared memory use certain system calls to
create and gain access to create and gain access
to regions of memory owned by other processes.
The two processes exchange information by
reading and writing in the shared data.

More Related Content

PPTX
What is operating system
PDF
Operating System / System Operasi
PPT
Opearating System
PPTX
Operating System Overview
PPT
Chapter01 os7e
PDF
computer system structure
PPTX
Operating systems
What is operating system
Operating System / System Operasi
Opearating System
Operating System Overview
Chapter01 os7e
computer system structure
Operating systems

What's hot (19)

PDF
introduction to operating system
PPTX
Chapter02 new
PPTX
Operating system || Chapter 1: Introduction
PPTX
Operating system || Chapter 3: Process
PDF
02.Os Structure
PPTX
Lecture 1 introduction to Operating System
PPTX
Bca i-fundamental of computer-u-3-functions operating systems
PPTX
Operating system concepts
PDF
Operating system Concepts
PPTX
Operating system 02 os as an extended machine
DOC
OPERATING SYSTEM - SHORT NOTES
PPT
OPERATING SYSTEM
PPTX
OS - Operating System
PPTX
operating system
PPT
Operating system notes ch1
DOCX
Operating system notes
PDF
2 operating system structures
PPT
OS - Ch1
PPTX
Operating systems
introduction to operating system
Chapter02 new
Operating system || Chapter 1: Introduction
Operating system || Chapter 3: Process
02.Os Structure
Lecture 1 introduction to Operating System
Bca i-fundamental of computer-u-3-functions operating systems
Operating system concepts
Operating system Concepts
Operating system 02 os as an extended machine
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM
OS - Operating System
operating system
Operating system notes ch1
Operating system notes
2 operating system structures
OS - Ch1
Operating systems
Ad

Similar to Operating system (20)

PPTX
Lecture_02_Operating System Structures Operating Systems
PDF
osunit1ppt-23011904470yuoij4-685c22ef.pdf
PPTX
OS UNIT 1 PPT.pptx
PPT
ch2_OS Structures.ppt To discuss the various ways of structuring an operatin...
PPT
PPT
ch3 - operating system structures.ppt
PPTX
Introduction to operating system,OS.pptx
PPT
Operating System 2
PDF
CH02.pdf
PPTX
Operating System Structures and objectuve.pptx
PPTX
MODULE-1_Operating System Services - ppt
PPTX
2. Operating System Structure,Services,Call, Design and Implementation.pptx
PPT
OS Services, System call, Virtual Machine
PPT
OS - Ch2
PPT
Chapter 2 - Operating System Structures
PPTX
System Calls in Operating Systems (SC in OS)
PPTX
Unit 1-Operating Systems Overview .pptx
PPT
Operating-System Structures
PPTX
Introduction to OS, types of operating systems
PPTX
installing and optimizing operating system software
Lecture_02_Operating System Structures Operating Systems
osunit1ppt-23011904470yuoij4-685c22ef.pdf
OS UNIT 1 PPT.pptx
ch2_OS Structures.ppt To discuss the various ways of structuring an operatin...
ch3 - operating system structures.ppt
Introduction to operating system,OS.pptx
Operating System 2
CH02.pdf
Operating System Structures and objectuve.pptx
MODULE-1_Operating System Services - ppt
2. Operating System Structure,Services,Call, Design and Implementation.pptx
OS Services, System call, Virtual Machine
OS - Ch2
Chapter 2 - Operating System Structures
System Calls in Operating Systems (SC in OS)
Unit 1-Operating Systems Overview .pptx
Operating-System Structures
Introduction to OS, types of operating systems
installing and optimizing operating system software
Ad

More from Haripritha (9)

PPTX
Mapreduce script
PPTX
Wireless sensor networks
PPTX
Datamining
PPTX
PPTX
Presentation 2
PPTX
Computer Organization
PPTX
Open addressing &amp rehashing,extendable hashing
PPTX
programming language in c&c++
PPTX
encoding
Mapreduce script
Wireless sensor networks
Datamining
Presentation 2
Computer Organization
Open addressing &amp rehashing,extendable hashing
programming language in c&c++
encoding

Recently uploaded (20)

PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
master seminar digital applications in india
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Business Ethics Teaching Materials for college
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Institutional Correction lecture only . . .
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Cell Structure & Organelles in detailed.
Week 4 Term 3 Study Techniques revisited.pptx
01-Introduction-to-Information-Management.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Insiders guide to clinical Medicine.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
VCE English Exam - Section C Student Revision Booklet
Microbial disease of the cardiovascular and lymphatic systems
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
master seminar digital applications in india
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Business Ethics Teaching Materials for college
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Institutional Correction lecture only . . .
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Cell Structure & Organelles in detailed.

Operating system

  • 1. K.HARIPRITHA M.SC(IT) NADAR SARASWATHI COLLEGE OF ARTS AND SCIENCE OPERATING SYSTEM
  • 2. SYSTEM CALLS  System call is the programmatic way in which a computer program requests a service from the kernel of the operating system it is executed on.  A system call is a way for programs to interact with the operating system.  A computer program makes a system call when it makes a request to the operating system’s kernel.
  • 3.  System call provides the services of the operating system to the user programs via Application Program Interface(API).  It provides an interface between a process and operating system to allow user-level processes to request services of the operating system.  System calls are the only entry points into the kernel system. All programs needing resources must use system calls.
  • 4. Types of System Calls There are 5 different categories of system calls:   Process control: end, abort, create, terminate, allocate and free memory.  File management: create, open, close, delete, read file etc.  Device management  Information maintenance  Communication
  • 5.  Process control  end, abort  load, execute  create process, terminate process  get process attributes, set process attributes  wait for time  wait event, signal event  allocate and free memory  File management  create file, delete file  open, close  read, write, reposition  get file attributes, set file attributes
  • 6.  Device management  request device, release device  read, write, reposition  get device attributes, set device attributes  logically attach or detach devices  Information maintenance  get time or date, set time or date  get system data, set system data  get process, file, or device attributes  set process, file, or device attributes  Communications  create, delete communication connection  send, receive messages  transfer status information  attach or detach remote devices
  • 7. PROCESS CONTROL  A running program needs to be able to stop execution either normally or abnormally. When execution is stopped abnormally, often a dump of memory is taken and can be examined with a debugger.
  • 8. FILE MANAGEMENT  Some common system calls are create, delete, read, write, reposition, or close. Also, there is a need to determine the file attributes – get and set file attribute. Many times the OS provides an API to make these system calls.
  • 9. DEVICE MANAGENT  Process usually require several resources to execute, if these resources are available, they will be granted and control returned to the user process. These resources are also thought of as devices.  Some are physical, such as a video card, and others are abstract, such as a file.  User programs request the device, and when finished they release the device. Similar to files, we can read, write, and reposition the device.
  • 10. INFORMATION MANAGEMENT  Some system calls exist purely for transferring information between the user program and the operating system. An example of this is time, or date.  The OS also keeps information about all its processes and provides system calls to report this information
  • 11. COMMUNICATION  There are two models of interprocess communication, the message-passing model and the shared memory model.  Message-passing uses a common mailbox to pass messages between processes.  Shared memory use certain system calls to create and gain access to create and gain access to regions of memory owned by other processes. The two processes exchange information by reading and writing in the shared data.