LLAPI_LAYOUT_COMP_USE_ID(3)
π LLAPI_LAYOUT_COMP_USE_ID(3) π
okay so bestie, welcome to the Lustre Library Functions section of the man pages, and today's main character is llapi_layout_comp_use_id β she's the one who picks which component in your layout is the active one. no cap. π
β¨ NAME β¨
llapi_layout_comp_use_id β set currently active component to given ID
πΈ SYNOPSIS πΈ
#include <lustre/lustreapi.h>
int llapi_layout_comp_use_id(struct llapi_layout *layout,
uint32_t *comp_id);
like. look at her. two arguments, zero drama. π¦
π DESCRIPTION π
So basically, llapi_layout_comp_use_id() sets the currently active component of the layout to the component with the specified comp_id. that's it. that's the whole job. she's focused, she's iconic, she knows what she wants. β¨
π₯ RETURN VALUES π₯
0β success, slay, we ate π-1β something went wrong, anderrnogets set appropriately. not the vibe, but at least you get told why. π
π ERRORS π
ENOENTβ No such component ID exists. bestie that ID is not real, it's giving ghost. π»EINVALβ An invalid argument was specified. you passed her something she cannot work with, periodt. π
π AVAILABILITY π
llapi_layout_comp_use_id() is part of the lustre(7) user application interface library since release 2.10.0. she's been here since 2.10.0, lowkey a veteran, highkey still serving. π
π«Ά SEE ALSO π«Ά
llapi_layout_alloc(3)llapi_layout_comp_del(3)llapi_layout_comp_id_get(3)llapi_layout_comp_use(3)llapi_layout_file_open(3)llapi_layout(7)lustreapi(7)
fr fr read the SEE ALSOs, the whole friend group is cute and you're gonna need them. πΈ
Lustre User API Β· 2024-08-27 Β· LLAPI_LAYOUT_COMP_USE_ID(3) β that's the source, the date, and the page, all wrapped up with a lil bow π mwah, bye bestie! π
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms