Nepedia
Back to Discover
Independent Reader
💻

System call

technology Maturity 9-11 Next article →

A computer program often needs help from the system. This help is called a system call.

Linux kernel interfaces
Linux kernel interfaces

Most computers have a security model. This model uses privilege levels. A normal program has low privilege. It cannot touch the hardware directly. It cannot change other running programs. This keeps the computer safe.

To get help, a program makes a system call. This acts like an interrupt. An interrupt is a signal that changes how the CPU works. It moves control to the kernel. The kernel is the core part of the system. It has the highest privilege. The kernel checks if the request is safe. If it is, the kernel does the work. Then it gives control back to the program.

Programs often use a library to make these calls. A library is a set of tools. It sits between the program and the system. It uses wrapper functions to help. These functions make the work easier and safer.

Linux kernel interfaces
Linux kernel interfaces

There are many types of calls. Some manage files. Some manage memory. Some help programs talk to each other. Windows has about 2000 different calls. Linux has over 300 calls.

187 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Linux kernel interfaces.svg
Linux kernel interfaces.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.