gfs_acl_get_entry(3)

gfs_acl_get_entry3

Get a gfarm acl entry

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_get_entry(gfarm_acl_t acl, int entry_id, gfarm_acl_entry_t *entry_p);

Input arguments

acl

An ACL structure type.

entry_id

GFARM_ACL_FIRST_ENTRY (to get first ACL entry) or GFARM_ACL_NEXT_ENTRY (to get next ACL entry).

entry_p

Pointer to get the ACL entry.

Return values

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_NO_SUCH_OBJECT

The ACL does not have ACL entries anymore. (End of ACL)

Others

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

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–10
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.