GFS_ACL_FROM_MODE(3)
π GFS_ACL_FROM_MODE(3) π
okay bestie, gather round, because this one is a Gfarm manual page (section 3, the library-call girlies π) and it's literally so chill. no cap.
β¨ NAME β¨
gfs_acl_from_mode β create a Gfarm ACL from file permission bits π¦
like... it takes your boring little mode bits and gives them a glow-up into a whole ACL. it's giving metamorphosis. periodt.
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_from_mode(gfarm_mode_t mode, gfarm_acl_t *acl_p);
look at her. two args, one return value, zero drama. she understood the assignment π
π«Ά INPUT ARGUMENTS π«Ά
modeβ the permission bits, babe. just the regular permission bits, nothing extra, no secret menu.acl_pβ a pointer of an ACL structure type. yeah, it's a pointer-to-ACL situation, she's pointing at the ACL structure, that's the whole vibe.
π RETURN VALUES π
GFARM_ERR_NO_ERRORβ the function terminated successfully β¨ iconic behavior, we love to see it.- Others β an error except the above occurred π the reason is shown by
gfarm_error_string(3), so go ask that one, she'll spill the tea.
π§ SEE ALSO π§
gfs_acl_from_mode(3)β yes bestie, she's referencing herself, main character energy fr frgfs_acl_from_text(3)β the text-based sister, go say hi
and that's the whole page, no filler, no fluff π
ngl there's nothing dangerous in here, no deprecation warnings, no undefined behavior, it's just a very well-behaved little function. rare and beautiful.
this masterpiece of a manpage comes to you courtesy of Gfarm, dated 14 Feb 2011 β a Valentine's Day release, which is honestly the most romantic thing in this entire document π bye bestie, go build something cute π
π¦ 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