GFS_ACL_DELETE_ENTRY(3)

πŸ’– NAME πŸ’–

gfs_acl_delete_entry β€” bestie, this is the one that yeets a Gfarm ACL entry into the void πŸ—‘οΈβœ¨


🌸 SYNOPSIS 🌸

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_delete_entry(gfarm_acl_t acl,
                                   gfarm_acl_entry_t entry_d);

πŸŽ€ INPUT ARGUMENTS πŸŽ€

  • acl β€” it's an ACL structure type, okurrr? that's the whole vibe, that's the container we're operating on πŸ’…
  • entry_d β€” an ACL entry. this is the lil guy you're about to remove, so hold onto it (you'll need it as an argument, bestie 🫢)

✨ RETURN VALUES ✨

  • GFARM_ERR_NO_ERROR β€” it ATE. the function terminated successfully, no notes πŸ‘‘β­
  • GFARM_ERR_INVALID_ARGUMENT β€” uh oh πŸ™ˆ the ACL does not have the ACL entry. you can't delete what was never there, the math isn't mathing 😭
  • Others β€” something else went down, an error except the above occurred. the reason is shown by gfarm_error_string(3) so go read that for the tea β˜•
fr fr: check your return value every single time, don't just assume it worked and move on. GFARM_ERR_NO_ERROR or it didn't happen πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie β€” this was GFS_ACL_DELETE_ENTRY(3) from the Gfarm manual, dated 14 Feb 2011 (a real valentine's day drop πŸ’Œ, iconic of them). mwah, go delete some entries, you've got this πŸ§šπŸ’œ