GFS_ACL_TO_ANY_TEXT(3)
β¨ GFS_ACL_TO_ANY_TEXT(3) β¨
okay so bestie, welcome to section 3 of the Gfarm manual π this one is gfs_acl_to_any_text, and it's literally the glow-up station where a Gfarm ACL gets turned into cute lil text. no cap.
πΈ NAME πΈ
gfs_acl_to_any_text β convert a Gfarm ACL to text
π SYNOPSIS π
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_to_any_text(gfarm_acl_t acl, const char *prefix,
char separator, int options,
char **str_p);
π¦ INPUT ARGUMENTS π¦
aclβ an ACL structure type. that's the thing getting converted, she's the main character here πprefixβ if the argumentprefixis notNULL, then every single entry gets to have this character string. not NULL? boom, prefix for everyone. it's giving matching outfits β¨separatorβ the ACL entries are separated by this separator character. pick your divider, bestie πoptionsβ bitwise combinations of the stuff in the OPTIONS section down below π go crazystr_pβ a pointer to the long text form string of the ACL. this is where the finished text lands π«Ά
π OPTIONS π
GFARM_ACL_TEXT_ABBREVIATEβ instead of spelling out the full tag type keywords, you get single letter abbreviations. short queen energy, we love efficiency πGFARM_ACL_TEXT_SOME_EFFECTIVEβ drops a comment containing the effective permissions in some ACL entries.GFARM_ACL_TEXT_ALL_EFFECTIVEβ same vibe but all the ACL entries get that comment containing the effective permissions. everyone eats π₯GFARM_ACL_TEXT_SMART_INDENTβ if you use this one together with theGFARM_ACL_TEXT_SOME_EFFECTIVEorGFARM_ACL_TEXT_ALL_EFFECTIVEoption, the effective comment gets aligned to column 40. so satisfying, honestly, the alignment is immaculate β¨
π RETURN VALUES π
GFARM_ERR_NO_ERRORβ the function terminated successfully. slay! everything worked πGFARM_ERR_NO_MEMORYβ insufficient memory was available. girl is starving, there was just not enough memory to go around π- Others β an error except the above occurred. the reason is shown by
gfarm_error_string(3). so if you get a mystery error, that's your detective π΅οΈ
π SEE ALSO π
ok that's the whole page fr fr. every flag, every argument, every error code β all accounted for, nothing skipped, periodt π
mwah π this page came from the Gfarm crew, dated 14 Feb 2011 β yeah, a Valentine's Day manpage, iconic behavior π
π¦ 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