








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of system calls, which are programming interfaces to the services provided by the operating system. It describes the three most common APIs and how system calls are implemented. The document also covers system call parameter passing, including the three general methods used to pass parameters to the OS. It lists the types of system calls, including file management, device management, information maintenance, communications, and protection.
Typology: Summaries
1 / 14
This page cannot be seen from the preview
Don't miss anything!









d Programming interface to the services provided by the OS d Typically written in a high-level language (C or C++) d Mostly accessed by programs via a high-level rather than direct system call use d Three most common APIs are Win 32 API for Windows, POSIX API for POSIX-based systems (including virtually all versions of UNIX, Linux, and Mac OS X), and Java API for the Java virtual machine (JVM)
U Information maintenance
. get time or date, set time or date . get system data, set system data . (^) get and set process, file, or device attributes U Communications . create, delete communication connection . send, receive messages if to or U From to . create and gain access to memory regions . transfer status information . attach and detach remote devices
EXAMPLES OF WINDOWS AND UNIX SYSTEM CALLS
d C program invoking printf() library call, which calls write() system call