LLAPI_PARAM_GET_PATHS(3)
π LLAPI_PARAM_GET_PATHS β bestie edition π
okay so this is a page from the Lustre Library Function manual (section 3, the library-call girlies π ), and it's literally just here to help you find your parameter files. no cap.
β¨ NAME β¨
llapi_param_get_paths β get a list of Lustre parameter file paths that match the given pattern π
π¦ SYNOPSIS π¦
#include <lustre/lustreapi.h>
int llapi_param_get_paths(const char *pattern, glob_t *paths);
πΈ DESCRIPTION πΈ
so the way that llapi_param_get_paths() works is: it goes rummaging through the locations in the filesystem that expose Lustre parameters π β like, it knows where the vibes live.
every single file name that matches pattern and is sitting in the correct locations in the file system gets returned to you. both conditions, bestie. it's giving "right name, right place, or you're not invited to the party" π
β¨
π₯ RETURN VALUES π₯
0β slay, it worked. success, with the parameter paths stored inpathsπ«Ά-veβ not slay. an error code on failure, and it setserrnoappropriately so you can go find out what went wrong π
π AVAILABILITY π
llapi_param_get_paths() is part of the lustre(7) user application interface library β and it's been iconic in there since release 2.14.0 β
π SEE ALSO π
π reminder: this call finds paths, it doesn't read the values for you. for that, go see llapi_param_get_value(3). iykyk π§
and that's the whole page, periodt π β brought to you by the Lustre User API, dated 2024-08-27. mwah, go read your parameter files responsibly πβ¨
π¦ 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