v9fs_dir_readdir(9)
πΈ NAME πΈ
okay so bestie, welcome to the v9fs_dir_readdir(9) page from the Kernel API Manual β and the whole assignment is literally: iterate through a directory. That's the vibe. That's the function. Periodt. π
β¨ SYNOPSIS β¨
Here's the exact signature, no cap:
int v9fs_dir_readdir (struct file *file , struct dir_context *ctx );
π ARGUMENTS π
fileβ the opened file structure, bestie. It's literally an opened file structure. π«Άctxβ the actor we feed the entries to. She's the one receiving the directory-entry content. π
π¦ SEE ALSO π¦
The whole reference squad, okay:
- Kernel file
./fs/9p/vfs_dir.c struct p9_rdir(9)dt_type(9)v9fs_alloc_rdir_buf(9)v9fs_dir_readdir_dotl(9)v9fs_dir_release(9)
xoxo, you made it to the footer π source/version vibes: ./fs/9p, date: October 2026, and the page title is still your girl v9fs_dir_readdir(9) β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms