








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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