GFS_ACL_CALC_MASK(3)

πŸ’– GFS_ACL_CALC_MASK(3) πŸ’–

okay bestie so you know how Gfarm ACLs have that whole group class mask situation going on? yeah. this is the function that handles it. it's gfs_acl_calc_mask, a section 3 manual page, and it is literally here to calculate and set the file group class mask in a Gfarm ACL. main character behavior tbh. πŸŽ€


✨ NAME ✨

gfs_acl_calc_mask β€” calculate and set the file group class mask in a Gfarm ACL 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_calc_mask(gfarm_acl_t *acl_p);

like. that's the whole vibe. one function, one pointer, no cap. πŸ’…


🫢 INPUT ARGUMENTS 🫢

  • acl_p β€” Pointer of ACL structure type. that's it, that's the argument. it's giving "pointer to the ACL structure" and we love that for it. ✨

πŸ”₯ RETURN VALUES πŸ”₯

okay so here's the tea on what it hands back to you:

  • GFARM_ERR_NO_ERROR β€” The function terminated successfully. we ate and left no crumbs, no notes, flawless. πŸ‘‘
  • GFARM_ERR_NO_MEMORY β€” Insufficient memory was available. not enough memory bestie 😭 the vibes are immaculate but the RAM said no. πŸ’€
  • Others β€” An error except the above occurred. The reason is shown by gfarm_error_string(3). so if it's not one of the two above, go ask gfarm_error_string(3) what's going on, because that's the one who knows. fr fr. πŸ™ˆ
ngl, if you're seeing "Others" you should probably run gfarm_error_string(3) before you start spiraling. it will tell you the reason. periodt. πŸ’œ

🌈 SEE ALSO 🌈

go read these next, i promise they're worth it:


that's the whole page bestie, hope it slayed πŸ’–

this has been Gfarm, dated 14 Feb 2011 β€” yes the original source and version, i would never gatekeep the receipts. bye bestie, go calc some masks βœ¨πŸ¦‹πŸŽ€πŸ’