GFS_ACL_FROM_TEXT(3)

✨ GFS_ACL_FROM_TEXT(3) ✨

okay so bestie, we're in the Gfarm manual pages and this one is literally called gfs_acl_from_text β€” it's the girl whose whole job is turning a lil string of text into a whole Gfarm ACL. manifesting permissions πŸ’…


πŸ¦‹ NAME πŸ¦‹

gfs_acl_from_text β€” create a Gfarm ACL from text. that's it, that's the vibe. text goes in, ACL comes out ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_from_text(const char *str, gfarm_acl_t *acl_p);

like... she takes two things and she gives you back a gfarm_error_t. no cap. πŸ’–


🌸 INPUT ARGUMENTS 🌸

  • str β€” an ACL text string, and she accepts both the long text form and the short text form. versatile queen πŸ‘‘
  • acl_p β€” a pointer of the ACL structure type. she's gonna write into this girl, so have her ready 🫢

πŸ’€ RETURN VALUES πŸ’€

  • GFARM_ERR_NO_ERROR β€” the function terminated successfully. she ate and left no crumbs πŸŽ‰
  • GFARM_ERR_NO_MEMORY β€” insufficient memory was available. the budget was NOT giving 😭
  • GFARM_ERR_INVALID_ARGUMENT β€” the argument str cannot be translated into an ACL. like girl, that's not an ACL, that's just... words πŸ’€
  • Others β€” an error except the above occurred. the reason is shown by gfarm_error_string(3). go ask her, she'll tell you why πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group fr fr πŸ’œ


okay that's the page!! this lil icon was served up by the Gfarm girlies, dated 14 Feb 2011 β€” yes bestie, a valentine's day release, she's been iconic since day one πŸŒˆπŸ’– mwah, go set some ACLs, you've got this πŸŽ€βœ¨