get_basename(9)
okay so bestie, welcome to get_basename(9) from the Kernel API Manual π this page is short, iconic, and here to explain one very specific little vibe. no cap.
π NAME π
get_basename β return the last part of a pathname. periodt. β¨
β¨ SYNOPSIS β¨
const char * get_basename (const char *path );
π ARGUMENTS π
pathβ the path you're extracting the filename from, bestie π«Ά that's literally the whole assignment.
π¦ SEE ALSO π¦
- Kernel file
./scripts/mod/modpost.cβ yes, that exact file, go peek π verify_module_namespace(9)β another manual page in the see-also squad π
this lil page is from source/version ./scripts/mod, dated October 2026, and it's get_basename(9) π«Άβ¨ bye bestie, slay responsibly π
π¦ 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