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

# dellosig(3)

delete a logical signal

## NAME

dellosig - delete a logical signal

## SYNOPSYS

```
#include "mlo.h"
int dellosig(ptfig, index)
lofig_list ∗ptfig;
long index;
```

## PARAMETERS

- *ptfig*

  Pointer to the figure in which the signal should be deleted

- *index*

  Index of the signal to be deleted.

## DESCRIPTION

**dellosig** delete the signal that has *index* as *INDEX*  in the figure pointed to by *ptfig*.  The list consistency is maintainded, and the space freed.

## RETURN VALUE

**dellosig** returns **1** if the signal has been deleted, **0** if the signal index does not exists in the list.

## EXAMPLE

```
#include "mlo.h"
char ∗was_existing(ptfig, index)
lofig_list ∗ptfig;
long index;
{
   return dellosig(ptfig, index) ? "you just killed it!"
                                 : "wasn't here anyway";
}
```

## SEE ALSO

**mbk**(1), [**lofig**(3)](/lofig/3.md), [**losig**(3)](/losig/3.md), [**addlosig**(3)](/addlosig/3.md), [**getlosig**(3)](/getlosig/3.md).
