# Linux/Unix 入门编程

## Linux/Unix 入门编程

- [Readme](https://linuxprogramming.weijun-lin.top/readme.md)
- [1. 文件 I/O](https://linuxprogramming.weijun-lin.top/1.-wen-jian-io.md): Linux/Unix 上的通用 I/O 模型，并主要关注磁盘文件的 I/O 操作
- [2. 信号](https://linuxprogramming.weijun-lin.top/2.-xin-hao.md): Unix/Linux 各种不同信号及其用途
- [3. 进程](https://linuxprogramming.weijun-lin.top/3.-jin-cheng.md): 进程的创建，终止，以及监控
- [4.1 线程的简单介绍与同步方法](https://linuxprogramming.weijun-lin.top/4.-xian-cheng/4.1-xian-cheng-de-jian-dan-jie-shao-yu-tong-bu-fang-fa.md): 线程的简单介绍与线程同步方法
- [4.2 线程安全、线程取消](https://linuxprogramming.weijun-lin.top/4.-xian-cheng/4.2-xian-cheng-an-quan-xian-cheng-qu-xiao.md): 线程安全、线程取消以及一些额外细节
- [5. 管道与FIFO](https://linuxprogramming.weijun-lin.top/5.-guan-dao-yu-fifo.md)
- [6. 内存映射](https://linuxprogramming.weijun-lin.top/6.-nei-cun-ying-she.md)
- [7.1 POSIX IPC 介绍](https://linuxprogramming.weijun-lin.top/7.-posix-ipc/7.1-posix-ipc-jie-shao.md): POSIX IPC 与 System V IPC 的比较以及简单介绍
- [7.2 POSIX 消息队列](https://linuxprogramming.weijun-lin.top/7.-posix-ipc/7.2-posix-xiao-xi-dui-lie.md)
- [7.3 POSIX 信号量](https://linuxprogramming.weijun-lin.top/7.-posix-ipc/7.3-posix-xin-hao-liang.md): POSIX 信号量用来同步进程和线程对共享资源的访问。
- [7.4 POSIX 共享内存](https://linuxprogramming.weijun-lin.top/7.-posix-ipc/7.4-posix-gong-xiang-nei-cun.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://linuxprogramming.weijun-lin.top/readme.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
