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

# delbddcircuitout(3)

deletes an output in a bdd circuit.

## NAME

delbddcircuitout - deletes an output in a **bdd** circuit.

## SYNOPSYS

```
#include "bdd101.h"
int delbddcircuitout( BddCircuit, OutputName )
  bddcircuit ∗BddCircuit;
  char       ∗OutputName;
```

## PARAMETERS

- *BddCircuit*

  The **bdd** circuit.

- *OutputName*

  The name of the output to delete.

## DESCRIPTION

**delbddcircuitout** deletes the output *OutputName*  in the **bdd** circuit *BddCircuit*. If a null pointer is given, the default **bdd** circuit is used.  If the output *OutputName* exists, the number of external reference of the output node is decremented.\

## RETURN VALUE

**delbddcircuitout** returns 1 if the output *OutputName* exist, 0 otherwise.

## EXAMPLE

```
#include "bdd101.h"
   bddsystem  ∗BddSystem;
   bddcircuit ∗BddCircuit;
   bddnode    ∗BddNode;
   BddSystem  = createbddsystem( 100, 1000, 100, 50000 );
   BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
   ...
   addbddcircuitout( (bddcircuit ∗)0, "Out0", BddNode );
   ...
   delbddcircuitout( (bddcircuit ∗)0, "Out0" );
   destroybddsystem( (bddsystem ∗)0 );
   destroybddcircuit( (bddcircuit ∗)0 );
```

## SEE ALSO

[**bdd**(1)](/bdd/1.md) **[searchbddcircuitout(3)](/searchbddcircuitout/3.md),** **[addbddcircuitout(3)](/addbddcircuitout/3.md).**
