gfs_acl_to_xattr_value(3)

gfs_acl_to_xattr_value3

Convert a gfarm acl to binary data for gfarm extended attribute

Usage

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_to_xattr_value(gfarm_acl_t acl, void **xattr_value_p, size_t *size_p);

Input arguments

acl

An ACL structure type which is sorted.

xattr_value_p

A pointer to the converted binary data.

size_p

A value pointed to by size_p is set to the length of the converted binary data.

Return values

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).

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.