dellocon(3)

dellocon3

Delete a logical connector

Synopsys

#include "mlo.h"
int dellocon(ptfig, name)
lofig_list ∗ptfig;
char ∗name;

Parameters

ptfig

Pointer to the figure in which the connector should be deleted

name

Name of the connector to be deleted.

Overview

dellocon deletes the connector called name in the figure pointed to by ptfig. The list consistency is maintained, and the space freed.

Return value

dellocon returns 1 if the connector has been deleted, 0 if no such connector exists in the list.

Examples

#include "mlo.h"
char ∗was_existing(p, s)
lofig_list ∗p;
char ∗s;
{
   return dellocon(p, s) ? "you just killed it!0 
                         : "wasn't here anyway0; 
}

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.