dellotrs(3)

dellotrs3

Delete a logical transistor

Synopsys

#include "mlo.h"
int dellotrs(ptfig, pttrs)
lofig_list ∗ptfig;
lotrs_list ∗pttrs;

Parameters

ptfig

Pointer to the figure in which the transistor should be deleted

pttrs

Pointer to the transistor to be deleted.

Overview

dellotrs delete the transistor pointed to by pttrs in the figure pointed to by ptfig. The list consistency is maintainded, and the space freed. The transistor connectors are also freed, since if the transistor disapear, no more connections can occur on it.

Return value

dellotrs returns 1 if the transistor has been deleted, 0 if the transistor pointer does nit exists in the list.

Examples

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

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.