GFS_ACL_ERROR(3)

✨ GFS_ACL_ERROR(3) β€” the Gfarm manual page, bestie ✨

okay so you're deep in the Gfarm man pages, section 3, and this one is literally about gfs_acl_error. it's giving "turn an ACL error code into a text message" energy. no cap. πŸ’…


🌸 NAME 🌸

gfs_acl_error β€” convert a Gfarm ACL error code to a text message. fr fr.


πŸŽ€ SYNOPSIS πŸŽ€

#include <gfarm/gfarm.h>

const char * gfs_acl_error(int acl_check_err_code);

πŸ¦‹ INPUT ARGUMENTS πŸ¦‹

  • acl_check_err_code β€” bestie, this is an error code that gfs_acl_check(3) returns. like, she hands it to you and you're like "what does this even mean?" and then you call gfs_acl_error to get the translation. πŸ’–

✨ RETURN VALUE ✨

okay so here's the tea, the function matches the code and gives you back a string:

  • If acl_check_err_code is GFARM_ACL_MULTI_ERROR, then "Multiple entries" is returned. πŸ’€
  • If acl_check_err_code is GFARM_ACL_DUPLICATE_ERROR, then "Duplicate entries" is returned. πŸ™ˆ
  • If acl_check_err_code is GFARM_ACL_MISS_ERROR, then "Missing or wrong entry" is returned. 😭
  • If acl_check_err_code is GFARM_ACL_ENTRY_ERROR, then "Invalid entry type" is returned. πŸ”₯
  • Otherwise, "No error" is returned. πŸ‘‘

periodt. that's the whole mapping, bestie.


🌈 SEE ALSO 🌈


πŸ’– and that's the entire page! this iconic Gfarm manual page is from Gfarm, dated 14 Feb 2011. stay slaying, mwah! πŸ’…βœ¨