DOKK / manpages / debian 12 / libgfarm-dev / gfs_acl_from_mode.3.en
GFS_ACL_FROM_MODE(3) Gfarm GFS_ACL_FROM_MODE(3)

gfs_acl_from_mode - create a Gfarm ACL from file permission bits

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_from_mode(gfarm_mode_t mode, gfarm_acl_t *acl_p);

mode

Permission bits.

acl_p

A pointer of an ACL structure type.

GFARM_ERR_NO_ERROR

The function terminated successfully.

Others

An error except the above occurred. The reason is shown by gfarm_error_string(3).

gfs_acl_from_mode(3), gfs_acl_from_text(3)

14 Feb 2011 Gfarm