> For the complete documentation index, see [llms.txt](https://tlpi-zhtw.netdpi.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tlpi-zhtw.netdpi.net/tlpi_sample/sample-chap4/dang-an-huan-chong-qu-chu-li.md).

# 檔案緩衝區處理

讀寫檔案設定適當的緩衝區（buffer）空間，可以提升讀寫的效能。
