ECONF\_ERRSTRING(3) libeconf Manual ECONF\_ERRSTRING(3)

# [NAME](#NAME)

econf\_errString - convert an econf\_err type to a string

# [SYNOPSIS](#SYNOPSIS)

```
#include <libeconf.h>
```

**const char \*econf\_errString(const econf\_err error);**

# [DESCRIPTION](#DESCRIPTION)

The **econf\_errString**() function converts an **econf\_err** error code (returned by other libeconf functions) into a human-readable string description.

# [RETURN VALUE](#RETURN_VALUE)

The **econf\_errString**() function returns a pointer to a string describing the error. The returned string is statically allocated and must not be freed by the application.

# [SEE ALSO](#SEE_ALSO)

[**libeconf**(3)](/man/os/libeconf/libeconf.3), [**econf\_errLocation**(3)](/man/os/libeconf/econf_errLocation.3)

2025-12-04 libeconf

---

Document: econf_errString(3) from libeconf 0.8.5-r0 (Chainguard OS)
Source: https://github.com/openSUSE/libeconf
