Pre-knowledge file descriptors A file descriptor (fd for short) is formally a non-negative integer. In fact, it is an index value that points to the...
Allows a process or kernel process to interrupt other processes. System Call changed. Using these System Call processes, the System Call process can choose one...
Please visit the original link: https://sysin.org/article/freebsd-13/, view the latest version. Original works, reproduced please retain the source. According to the official release schedule of FreeBSD...
Socket blocking vs. non-blocking, synchronous vs. asynchronous Synchronous/asynchronous is mainly for THE C-side - synchronization is like a normal page, after the page sends a...
POSIX is all Unix - like system needs to follow the specification, it defines the operating system, need to provide the interface's official website (https://pubs.opengroup.org/onlinepubs/9699919799/),...
Call a special startup routine before main. The executable file specifies this startup routine as the starting address of the program, which takes command line...
Since Ken ThompsonKen Thompson and Dennis RitchieDennis Ritchie developed the prototype of UNIX system in Bell Telephone Laboratories in the United States in 1969, It...
A shell is a special application (command line interpreter) that provides an interface to run other applications. Each process has a working directory (also known...
This is the fourth day of my participation in the August More text Challenge. For details, see: August More Text Challenge. Good Unix command substitution...
A pipeline is a mechanism for communication between parent and child processes because processes have separate virtual address Spaces, so no process can directly access...
Any general-purpose CPU can detect a special message sent from outside the CPU or generated internally after executing the currently executing instruction, and can immediately...
ISA, Instruction Set Architecture, DEC, Digital Equipment Corporation, Central Processing Units, Microprocessor, Minicomputer, PC, Program Counter, SP, Stack Pointer, PSW, A) processor status word B)...