GFS_ACL_CREATE_ENTRY(3)

✨ GFS_ACL_CREATE_ENTRY(3) ✨

okay bestie, so this is a page from the Gfarm manual set (section 3, the library-call girlies πŸ’…) and it's all about manifesting a brand new ACL entry into existence. like, you have an ACL, you want more entries in it? say less. this function is literally the plug. 🫢


🌸 NAME 🌸

gfs_acl_create_entry β€” create a new Gfarm ACL entry


πŸŽ€ SYNOPSIS πŸŽ€

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_create_entry(gfarm_acl_t *acl_p,
                                   gfarm_acl_entry_t *entry_p);

πŸ¦‹ INPUT ARGUMENTS πŸ¦‹

  • acl_p β€” a pointer of ACL structure type, and it's the one you're adding the new entry to. she's the host of the party, the entry is the guest. ✨
  • entry_p β€” a pointer that gets you the new ACL entry. it's giving "here's your fresh little entry, go off king". πŸ‘‘

πŸ’– RETURN VALUES πŸ’–

  • GFARM_ERR_NO_ERROR β€” the function terminated successfully. we love a clean run, no notes, ate and left no crumbs. πŸ”₯
  • GFARM_ERR_NO_MEMORY β€” insufficient memory was available. bestie ran out of room, it's not her fault, the machine was being stingy. 😭
  • Others β€” an error except the above occurred. the reason is shown by gfarm_error_string(3), so go ask that one for the receipts. πŸ•΅οΈβ™€οΈ

🌈 SEE ALSO 🌈

(yes gfs_acl_delete_entry(3) is listed twice β€” iconic of it honestly, main character energy, we keep it exactly as written. πŸ’œ)


lowkey reminder: this is the create girlie, so if you're looking for the opposite vibe, that's what the delete entries above are for. iykyk. πŸ™ˆ

and that's the whole page, fr fr. this cutie comes to you from the Gfarm manual, dated 14 Feb 2011 β€” a real valentine to ACLs πŸ’Œ β€” under the title GFS_ACL_CREATE_ENTRY(3). slay, go create some entries, bestie. πŸ§šβ€β™€οΈπŸ’–βœ¨