---
name: "gfs_acl_create_entry"
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_create_entry"
---

# gfs\_acl\_create\_entry(3)

create a new Gfarm ACL entry

## NAME

gfs\_acl\_create\_entry - create a new Gfarm ACL entry

## SYNOPSIS

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

**gfarm\_error\_t gfs\_acl\_create\_entry(gfarm\_acl\_t \****acl\_p***, gfarm\_acl\_entry\_t \****entry\_p***);**

## INPUT ARGUMENTS

*acl\_p*

A pointer of ACL structure type to add the new entry.

*entry\_p*

A pointer to get new ACL entry.

## 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\_init**(3)](/gfs_acl_init/3.md), [**gfs\_acl\_delete\_entry**(3)](/gfs_acl_delete_entry/3.md), [**gfs\_acl\_free**(3)](/gfs_acl_free/3.md), [**gfs\_acl\_delete\_entry**(3)](/gfs_acl_delete_entry/3.md)
