GFS_ACL_CMP(3)
π GFS_ACL_CMP(3) π
okay bestie, so like. this is gfs_acl_cmp β a lil function from the Gfarm manual, section 3, and it does exactly one (1) thing: it compares two Gfarm ACLs. that's it. that's the whole job. and honestly? iconic for that. no cap. π
β¨ NAME β¨
gfs_acl_cmp β compare two Gfarm ACLs, bestie. that's the vibe. π
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
int gfs_acl_cmp(gfarm_acl_t acl1, gfarm_acl_t acl2);
like yes, that's literally it. two ACLs walk in, one int walks out. π¦
π INPUT ARGUMENTS π
acl1,acl2β an ACL structure type which is sorted. yes, sorted. both of them. the function is lowkey assuming you already did the sorting thing, so do not come in here with unsorted ACLs and act surprised, okay? π
β RETURN VALUES β
so here's the tea:
- if
acl1andacl2are equal, this function returns0. slay. they're twins. matching. ate. β¨ - if they differ, this function returns
1. not the same. divergent. it's giving "we are not the same person". π
that's the whole scale. 0 or 1. no in-between, no gray area, no "it's complicated". main character energy fr fr. π₯
π SEE ALSO π
go read these too, i promise they're worth it:
tiny reminder bestie: this function wants your ACLs sorted β gfs_acl_sort(3) is literally right there in the list, iykyk. π§
this page is from Gfarm, dated 14 Feb 2011 β yes, valentine's day, which is honestly so on brand for a function whose entire personality is "are these two things the same". π«Ά mwah, go compare something. ππΈπ
π¦ 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