GFS_ACL_CLEAR_PERMS(3)

✨ GFS_ACL_CLEAR_PERMS(3) ✨

okay bestie, we're diving into the Gfarm manual, section 3, and today's main character is gfs_acl_clear_perms πŸŽ€


🌸 NAME 🌸

gfs_acl_clear_perms β€” the girl whose whole job is clearing every single permission out of a Gfarm ACL permission set. like, all of them. gone. poof. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_clear_perms(gfarm_acl_permset_t permset_d);

that's it. one include, one function call, zero drama. no cap. ✨


πŸ’– INPUT ARGUMENTS πŸ’–

  • permset_d β€” an ACL permission set. that's the lil guy you're wiping clean. hand it over and it comes back with nothing in it, like your camera roll after a storage crisis 😭

πŸ‘‘ RETURN VALUES πŸ‘‘

  • GFARM_ERR_NO_ERROR β€” it worked!! the function terminated successfully, everything's slaying, we love to see it 🫢
  • Others β€” literally anything else means an error happened that isn't the happy one above. and the reason? it gets shown to you by gfarm_error_string(3). so like, go read that one, it'll tell you what went wrong πŸ’€

🌈 SEE ALSO 🌈

the whole friend group, fr fr:


and that's the whole page, bestie!! this lil icon was brought to you by Gfarm, dated 14 Feb 2011 β€” yes, a valentine's day release, it's giving romance actually πŸ’œπŸŒΈ mwah, go clear some perms, ily 🧚