GFS_ACL_FROM_TEXT_WI(3)
okay so welcome to the Gfarm corner of the manual, bestie π this page is GFS_ACL_FROM_TEXT_WI(3) and it's all about making an ACL out of a text string when you've got a default prefix in the mix. let's get into it β¨
πΈ NAME πΈ
gfs_acl_from_text_with_default β create a Gfarm ACL from text with default prefix π
π¦ SYNOPSIS π¦
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_from_text_with_default(const char *str,
gfarm_acl_t *acl_acc_p,
gfarm_acl_t *acl_def_p);
like, copy that exactly, don't freestyle the signature bestie π
π INPUT ARGUMENTS π
strβ an ACL text string, and it can be in long text form or short text form (both are valid, slay). the ACL entries are allowed to have a"default:"prefix on them πacl_acc_pβ a pointer of the ACL structure type, for the access ACL.acl_acc_pβ a pointer of the ACL structure type, for the default ACL.
ngl the page really does list acl_acc_p twice there, once for the access ACL and once for the default ACL π i'm just telling you exactly what the manual says, no cap.
π RETURN VALUES π
GFARM_ERR_NO_ERRORβ the function terminated successfully. we ate. periodt π β¨GFARM_ERR_NO_MEMORYβ insufficient memory was available π the memory said no.GFARM_ERR_INVALID_ARGUMENTβ the argumentstrcannot be translated into an ACL. it's giving unparseable, bestie π- Others β an error except the above occurred. the reason is shown by
gfarm_error_string(3)π
π SEE ALSO π
go read those too, iykyk π«Ά
and that's the whole vibe, bestie π this one's from the Gfarm manual, dated 14 Feb 2011 β iconic vintage energy fr fr. now go build some ACLs ππ¦πΈ
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms