A disk, a keyboard and a network card, each answered with the same few words by the operating system. This lesson is about the small number a program holds in its hand when it talks to any of them.
Before you start. A process is one running program with a wall around it, and the only way through the wall is a system call, a request to the kernel, the part of the operating system that owns the hardware (Processes, Threads & the Kernel). Above every device the kernel offers the same four calls: open (ask for a thing), read (take bytes from it), write (give it bytes) and close (hand it back), so that a program need not care what is on the other side (I/O, Interrupts & the Bus).
Lesson 25 of 41 in How Computers Work
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.