lsm_nfs_export_id_get(3)
π lsm_nfs_export_id_get π
okay bestie, welcome to the Libstoragemgmt C API Manual β¨ this one's about lsm_nfs_export_id_get(3) and it's genuinely so simple it's giving main character energy π
πΈ NAME πΈ
lsm_nfs_export_id_get β retrieves the ID of the nfs_export π
β¨ SYNOPSIS β¨
const char * lsm_nfs_export_id_get (lsm_nfs_export *exp);
likeβ¦ one function, one argument, one little const char * coming back at you π«Ά
π¦ ARGUMENTS π¦
expβ the NFS export you want the id for. that's it. that's the whole vibe π
π VERSION π
1.0 β yes queen, we're on version 1.0 β
π DESCRIPTION π
Retrieves the ID for the nfs_export. no cap, that's literally the entire job. she gets the id, she slays, she leaves π₯
π NOTE π
okay this part actually matters so listen up bestie π
The address returned is valid until lsm_nfs_export gets freed. If you need a longer scope, copy the return value. And whatever you do β do not free the returned string. not even a little. it's not yours to free, it belongs to the library π
π RETURN π
returns a string β¨ and it's NULL if the argument 'exp' is NULL or not a valid lsm_nfs_export pointer. so like, check before you go wild π
and that's the whole page, periodt π
this cutie came from the Libstoragemgmt C API Manual, dated February 2026, and she's filed under lsm_nfs_export_id_get(3) β go forth and get those export ids, ily π«Άπβ¨
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms