basename(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ basename(9) πŸŽ€

okay so this is the Kernel API Manual entry for basename(9), and it is literally short but iconic. bestie, it is all about finding the last component of an hname. periodt. πŸ’…


πŸ’– NAME πŸ’–

basename β€” find the last component of an hname ✨


✨ SYNOPSIS ✨

const char * basename (const char *hname );

πŸŽ€ ARGUMENTS πŸŽ€

  • hname β€” the hname to find the base profile name component of (NOT NULL). like, do not even try to pass null, bestie πŸ™ˆ

πŸ¦‹ RETURN πŸ¦‹

the tail (base profile name) name component of an hname πŸ’–


🌸 SEE ALSO 🌸

these are the lil friends in the same orbit, iykyk 🫢


okay bye bestie 🫢 this page lives under ./security/apparmor/include, and the date on it is October 2026 β­πŸ’œ

πŸ“¦ where this page comes from