---
name: "gfs_acl_to_text"
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_to_text"
---

# gfs\_acl\_to\_text(3)

convert a Gfarm ACL to text

## NAME

gfs\_acl\_to\_text - convert a Gfarm ACL to text

## SYNOPSIS

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

**gfarm\_error\_t gfs\_acl\_to\_text(gfarm\_acl\_t** *acl***, char \*\****str\_p***, size\_t \****len\_p***);**

## INPUT ARGUMENTS

*acl*

An ACL structure type.

*str\_p*

A pointer to the long text form string of the ACL.

*len\_p*

If this pointer is not NULL, the function returns the length of the string, not including the terminating '\\0' character.

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

[**free**(3)](/free/3.md), [**gfs\_acl\_to\_any\_text**(3)](/gfs_acl_to_any_text/3.md)
