gfs_acl_error(3)
convert a Gfarm ACL error code to a text message
Description
GFS_ACL_ERROR
NAME
gfs_acl_error - convert a Gfarm ACL error code to a text message
SYNOPSIS
#include <gfarm/gfarm.h>
|
const char * gfs_acl_error(int acl_check_err_code); |
INPUT ARGUMENTS
acl_check_err_code
A error code returned by gfs_acl_check(3).
RETURN VALUE
If the acl_check_err_code is GFARM_ACL_MULTI_ERROR, "Multiple entries" is returned. If the acl_check_err_code is GFARM_ACL_DUPLICATE_ERROR, "Duplicate entries" is returned. If the acl_check_err_code is GFARM_ACL_MISS_ERROR, "Missing or wrong entry" is returned. If the acl_check_err_code is GFARM_ACL_ENTRY_ERROR, "Invalid entry type" is returned. "No error" is returned otherwise.
SEE ALSO
gfs_acl_check(3), gfs_acl_valid(3)