The Linux file system can be divided into two layers, the virtual file system (VFS) and the driver. VFS is mainly connected with the driver to realize the adaptation and management of different file systems. The read/write
function read in this article is at the VFS level, and the source code is as follows: https://codebrowser.dev/linux/linux/fs/read_write.c.html
This article is transferred from https://imcbc.cn/202301/glibc-read-write/
This site is only for collection, and the copyright belongs to the original author.