lsm_nfs_e...rray_free(3)

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

🧹 NAME 🧹

lsm_nfs_export_record_array_free β€” bestie, this is the one that frees the memory of an lsm_nfs_export array. like, releases it back into the wild. so long, farewell πŸ’–


✨ SYNOPSIS ✨

int lsm_nfs_export_record_array_free (lsm_nfs_export *exps[], uint32_t
size);

🫢 ARGUMENTS 🫢

  • exps[] β€” the array you want to release memory for. she's done her job, let her rest 😭
  • size β€” the number of elements. gotta tell it how many besties are in the lineup πŸ’…

🌸 VERSION 🌸

1.0


πŸ¦‹ DESCRIPTION πŸ¦‹

Frees the memory resources for an array of lsm_nfs_export.

that's it. that's the whole vibe. cleanup era, we love to see it ✨


πŸ’œ RETURN πŸ’œ

Error code as enumerated by 'lsm_error_number':

  • LSM_ERR_OK β€” on success. slay, no leaks, immaculate energy πŸ‘‘
  • LSM_ERR_INVALID_ARGUMENT β€” when not a valid lsm_nfs_export pointer. that's not a real one bestie πŸ’€

lowkey important: if you're handing over something that isn't a valid lsm_nfs_export pointer, you're getting LSM_ERR_INVALID_ARGUMENT back, periodt. no cap.

okay and that's the whole page!! this was the Libstoragemgmt C API Manual, version 1.0, dated February 2026 β€” mwah, catch you on the next manpage bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from