GFS_ACL_VALID(3)

πŸ’– GFS_ACL_VALID(3) πŸ’–

okay so bestie, welcome to the Gfarm corner of the manual pages, and today's main character is gfs_acl_valid ✨ it's a section 3 function, so it lives in the library girlies' neighborhood, and it is literally here to vibe check your ACL πŸŽ€


🌸 NAME 🌸

gfs_acl_valid β€” validate a Gfarm ACL structure πŸ’…

like... it checks that your ACL is valid. that's the whole job. and she does it well 🫢


✨ SYNOPSIS ✨

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_valid(gfarm_acl_t acl);

yes bestie, that's the include, that's the signature, and gfarm_error_t is what she hands back to you πŸ‘‘


πŸ¦‹ INPUT ARGUMENTS πŸ¦‹

  • acl β€” an ACL structure which is sorted. that's the whole requirement. she's expecting sorted. not chaos. not a lil messy pile of entries. sorted. the sort girlies handled it, see gfs_acl_sort(3) if you haven't yet πŸ™ˆ

⭐ RETURN VALUES ⭐

  • GFARM_ERR_NO_ERROR β€” the function terminated successfully πŸŽ‰ no cap, everything is fine, the ACL passed the vibe check, we love to see it πŸ’–
  • Others β€” an error except the above occurred 😭 the reason is shown by gfarm_error_string(3). so like, if it's not the happy one, go read the error string, she'll tell you what's up.

🌈 SEE ALSO 🌈


πŸ’€ reminder: acl is a structure which is sorted. if it isn't, that's not on her. that's on you, bestie. iykyk 🧚

and that's the page, periodt πŸ’… this one came straight out of the Gfarm manual, dated 14 Feb 2011 β€” a true valentine to ACL validation, honestly πŸ“πŸ’œ mwah, go validate something, you've got this 🌸✨