lsm_nfs_e...tions_get(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

✨ 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