lsm_nfs_e...tions_get(3)
β¨ lsm_nfs_export_options_get β¨
okay bestie, welcome to the libstoragemgmt C API manual π section 3, the one where we talk about functions. this one is lsm_nfs_export_options_get and it is literally here to hand you the options off an NFS export. no cap. π¦
πΈ NAME πΈ
lsm_nfs_export_options_get β retrieves the options of the nfs_export π
β¨ SYNOPSIS β¨
const char * lsm_nfs_export_options_get (lsm_nfs_export *exp);
π ARGUMENTS π
expβ the NFS export you wanna retrieve options for. that's it, that's the whole vibe. π«Ά
π©· VERSION π©·
1.0 β¨
π DESCRIPTION π
so the way that this works: it retrieves the options for the lsm_nfs_export. that's the whole thing. you give it an export, it gives you the options. main character energy fr fr. π
β οΈ NOTE β οΈ
bestie listen to me on this one, it matters π
the address returned is valid until lsm_nfs_export gets freed. so if you need it to live longer than that, copy the return value β like, actually copy it, don't just vibe and hope. π
and do not free the returned string. do not. it is not yours to free. hands off. π
π RETURN π
returns a string β¨
it returns NULL if the argument 'exp' is NULL or if it's not a valid lsm_nfs_export pointer. so like, if you handed it nonsense, you get nothing back. checks out. π
that's the whole page, bestie!! go forth and get those export options π
this was lsm_nfs_export_options_get, from the Libstoragemgmt C API Manual, dated February 2026, living in the lsm_nfs_e...tions_get(3) corner of the man pages. ily, mwah πππ¦
π¦ 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