lsm_nfs_export_id_get(3)

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

πŸ’– 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