---
name: "beh_error"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/beh_error"
---

# beh\_error(3)

## NAME

**beh\_error**

## SYNOPSYS

```
int beh_error (code, str)
int code;
char *str;
```

## PARAMETERS

- *code*

  error´s code

- *str*

  a string to be printed within the error message

## DESCRIPTION

**beh\_error()** prints an error message on the standard error output depending on an error code. The *code* parameter determines the message to be printed.

## SEE ALSO

[beh(3)](/beh/3.md)
