DOKK / manpages / debian 12 / libgfarm-dev / gfs_acl_dup.3.en
GFS_ACL_DUP(3) Gfarm GFS_ACL_DUP(3)

gfs_acl_dup - duplicate a Gfarm ACL structure

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_dup(gfarm_acl_t *acl_dst_p, gfarm_acl_t acl_src);

acl_dst_p

A pointer of ACL structure type for destination.

acl_src

An ACL structure type for source.

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_NO_MEMORY

Insufficient memory was available.

Others

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

gfs_acl_free(3), gfs_acl_get_entry(3)

14 Feb 2011 Gfarm