[NO000035] Operating system operating system OS interface OS interface

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.