GFS_ACL_DUP(3)

✨ GFS_ACL_DUP(3) ✨

okay bestie, welcome to the Gfarm corner of the manual pages πŸ’– this one is gfs_acl_dup, straight out of the Gfarm collection, and honestly? she's a little icon. she copies ACLs. that's the whole gig. and she does it flawlessly.


🌸 NAME 🌸

gfs_acl_dup β€” duplicate a Gfarm ACL structure πŸ¦‹

like... literally copy-paste energy but for ACL structs, no cap.


πŸŽ€ SYNOPSIS πŸŽ€

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_dup(gfarm_acl_t *acl_dst_p, gfarm_acl_t acl_src);

yes you need that #include line, don't skip it, i'm begging πŸ™


πŸ’… INPUT ARGUMENTS πŸ’…

  • acl_dst_p β€” a pointer of ACL structure type for destination. this is where the copy lands, so she's the one receiving. main character of receiving, honestly.
  • acl_src β€” an ACL structure type for source. this is the original she's duplicating from. the blueprint. the moment. the template. ✨

πŸ‘‘ RETURN VALUES πŸ‘‘

  • GFARM_ERR_NO_ERROR β€” the function terminated successfully. πŸŽ‰ ate and left no crumbs, periodt.
  • GFARM_ERR_NO_MEMORY β€” insufficient memory was available. πŸ’€ not enough RAM bestie, it's giving tragedy.
  • Others β€” an error except the above occurred. the reason is shown by gfarm_error_string(3). so go read that one if you're confused, she'll explain everything i promise 🫢

🌈 SEE ALSO 🌈

go give them a read too, they're the friend group fr fr πŸ’œ


and that's the whole page!! 🌸 this was from the Gfarm crew, dated 14 Feb 2011 β€” yes, valentine's day, because she's a lover girl πŸ’– mwah, take care of your ACLs, bestie! πŸŽ€βœ¨πŸ¦‹