config_item_set_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– config_item_set_name(9) β€” Kernel API Manual πŸ’–

✨ NAME ✨

config_item_set_name β€” Set the name of an item. That's literally the whole vibe, bestie. πŸŽ€

🌸 SYNOPSIS 🌸

       int config_item_set_name (struct config_item *item , const char *fmt ,
       ... );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • item β€” item.
  • fmt β€” The vsnprintf's format string.
  • ... β€” variable arguments.

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so here's the tea β˜•: if strlen(name) >= CONFIGFS_ITEM_NAME_LEN, then it uses a dynamically allocated string that item->ci_name points to. Otherwise, it uses the static item->ci_namebuf array. Periodt. πŸ’…βœ¨

🌈 SEE ALSO 🌈


That's the page, bestie 🫢 β€” source/version ./fs/configfs, dated October 2026, and this iconic little manual page is config_item_set_name(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from