---
name: "gfs_acl_init"
section: "3"
platform: "linux"
package: "libgfarm-dev"
version: "2.7.20+dfsg-1.2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gfs_acl_init"
---

# gfs\_acl\_init(3)

initialize a Gfarm ACL structure

## NAME

gfs\_acl\_init - initialize a Gfarm ACL structure

## SYNOPSIS

```
#include <gfarm/gfarm.h>
```

**gfarm\_error\_t gfs\_acl\_init(int** *count***, gfarm\_acl\_t \****acl\_p***);**

## INPUT ARGUMENTS

*count*

Initial number of unused ACL entries.

*acl\_p*

A pointer of ACL structure type for initialization.

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

## SEE ALSO

[**gfs\_acl\_get\_file**(3)](/gfs_acl_get_file/3.md), [**gfs\_acl\_free**(3)](/gfs_acl_free/3.md)
