Interface (Interface)
Still starting with common sense ...
There are many interfaces in daily life: Power sockets, Car throttle ...
So what is an interface? connect two things, signal conversion, shielding details ...
Interface:electrical circuit linking one device with another and enabling data coded in one format to being transmitted in a Nother (from Oxford Dictionary)
What is an operating system interface?
Connecting upper-level users and operating system software
What is an operating system interface? Are they orders,?...?
Question: Does the operating system face the user directly? That is how the user uses the operating system?...
The operating system interface is not connected to the user
How do users use the computer?
Command line
Graphic buttons
Application
What about the command line?
What's the order? A program written in C (or assembler) language.
What about the graphic button?
Mouse click, Keyboard press after ...
What the graphical interface is: A C (or assembler) program that includes paint
Go back to that question . What is an operating system interface?
Answer the question with a concept: what is an operating system interface?
system calls! It's like a power plug ...
Start by knowing "plug", this is the common sense of the operating system
Posix:portable Operating System Interface of Unix (a standard family developed by IEEE)
Classification |
POSIX definition |
Describe |
Task management |
Fork |
Create a process |
Execl |
Run an executable program |
Pthread_create |
Create a thread |
File system |
Open |
Open a file or directory |
Eacces |
Return value, indicating no permissions |
mode_t St_mode |
File header structure: |
[NO000035] Operating system operating system OS interface OS interface