---
name: "gfs_acl_get_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_get_entry"
---

# gfs\_acl\_get\_entry(3)

get a Gfarm ACL entry

## NAME

gfs\_acl\_get\_entry - get a Gfarm ACL entry

## SYNOPSIS

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

## SEE ALSO

[**gfs\_acl\_calc\_mask**(3)](/gfs_acl_calc_mask/3.md), [**gfs\_acl\_create\_entry**(3)](/gfs_acl_create_entry/3.md), [**gfs\_acl\_delete\_entry**(3)](/gfs_acl_delete_entry/3.md), [**gfs\_acl\_get\_file**(3)](/gfs_acl_get_file/3.md)
