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

# beh\_depend(3)

compute forward dependencies in a description

## NAME

**beh\_depend** - compute forward dependencies in a description

## SYNOPSYS

```
void beh_depend (fig_pnt)
struct befig *fig_pnt;
```

## PARAMETERS

- *fig\_pnt*

  pointer of the BEFIG structure

## DESCRIPTION

**beh\_depend()** analyzes the forward dependencies in a whole description (a BEFIG). Forward dependency means, for each input finding out the set of outputs that depend on it.

*fig\_pnt* represents the pointer of the description to be analyzed.

After the analysis is acheived, **beh\_depend** produces a set of dependency lists for each input. Each dependency list is a list of pointers to those outputs that depends on the input. A seprate list is produced for each type of outputs (BEOUT, BEREG, BEAUX, BEBUX, BEMSG, BEDLY, BEBUS).

## EXAMPLE

```
#include <beh109.h>
struct befig *befig_pnt;
beh_depend (befig_pnt);
```

## SEE ALSO

[beh(3)](/beh/3.md), befig(3), berin(3), beaux(3), bereg(3), [beh\_debug(3)](/beh_debug/3.md)
