# Linux 程式設計

- [\[C\] 產生亂數](https://applezu.netdpi.net/linux-prog/generate_random_number.md)
- [\[C\] Pointer and array](https://applezu.netdpi.net/linux-prog/c-pointer-and-array.md)
- [\[Script\] strncmp](https://applezu.netdpi.net/linux-prog/script-strncmp.md)
- [\[C\] Linux 取得 HD 序號](https://applezu.netdpi.net/linux-prog/linux-get-hd-serial.md)
- [\[C\] 程式範例-切割 subnet](https://applezu.netdpi.net/linux-prog/split-netmask-sample.md)
- [C struct 的使用](https://applezu.netdpi.net/linux-prog/using-c-struct.md)
- [C 目錄相關](https://applezu.netdpi.net/linux-prog/c-directory.md)
- [const 修飾詞](https://applezu.netdpi.net/linux-prog/const-keyword.md)
- [Dangling pointer（懸置指標）](https://applezu.netdpi.net/linux-prog/dangling-pointer-xuan-zhi-zhi-biao.md)
- [dnsmole](https://applezu.netdpi.net/linux-prog/dnsmole.md)
- [dos2unix 程式碼](https://applezu.netdpi.net/linux-prog/dos2unix-sample-code.md)
- [Function pointer in C](https://applezu.netdpi.net/linux-prog/function-pointer-in-c.md)
- [GCC header limits.h](https://applezu.netdpi.net/linux-prog/gcc-header-limits-h.md)
- [GDB 參數](https://applezu.netdpi.net/linux-prog/gdb-parameters.md)
- [glibc detected (double free)](https://applezu.netdpi.net/linux-prog/glibc-detected-double-free.md)
- [IEEE 754 and float 範例程式](https://applezu.netdpi.net/linux-prog/ieee-754-and-float-sample-code.md)
- [kernel 中的網路卡名稱與命名順序關係](https://applezu.netdpi.net/linux-prog/linux-kernel-zhong-wang-lu-ka-ming-cheng-yu-shun-xu-ming-ming-de-guan-xi.md)
- [Linux 序列埠程式設計](https://applezu.netdpi.net/linux-prog/linux-xu-lie-bu-cheng-shi-she-ji.md)
- [loop device 的數目](https://applezu.netdpi.net/linux-prog/limit-of-loop-device.md)
- [Perl & LWP](https://applezu.netdpi.net/linux-prog/perl-lwp.md)
- [Remote Control over CGI](https://applezu.netdpi.net/linux-prog/copy-of-page-1.md)
- [偵測 NAT 內部主機連線狀況](https://applezu.netdpi.net/linux-prog/copy-of-page-1-1.md)
- [利用 libpcap 取得所有的網路裝置名稱](https://applezu.netdpi.net/linux-prog/copy-of-page-1-2.md)
- [取得時間](https://applezu.netdpi.net/linux-prog/copy-of-page-1-3.md)
- [strncpy](https://applezu.netdpi.net/linux-prog/copy-of-page-1-4.md)
- [從應用層程式取得傳輸層 TCP 資訊](https://applezu.netdpi.net/linux-prog/copy-of-page-1-5.md)
- [於 Linux 上撰寫 daemon server 要注意的](https://applezu.netdpi.net/linux-prog/note-for-design-daemon.md)
- [為什麼需要 & 0377](https://applezu.netdpi.net/linux-prog/why-and-0377.md)
- [研究 setsid()](https://applezu.netdpi.net/linux-prog/setsid-study.md)
- [與 HTTP 協定有關的 RFC](https://applezu.netdpi.net/linux-prog/http-rfcs.md)
- [製作 patch 檔](https://applezu.netdpi.net/linux-prog/make-patch.md)
- [設計在背景執行的 Linux 程式](https://applezu.netdpi.net/linux-prog/design-daemon-programs.md)
- [讀取 STDIN (Standard INPUT) 範例程式](https://applezu.netdpi.net/linux-prog/sample-code-of-read-stdin.md)
- [關於 Linux CPU smp\_affinity](https://applezu.netdpi.net/linux-prog/about-linux-smp_affinity.md)
- [陣列名稱與指標](https://applezu.netdpi.net/linux-prog/name-of-array-and-pointers.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://applezu.netdpi.net/linux-prog.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.
