Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
DELLOINS(3)		      MBK LOGICAL FUNCTIONS		     DELLOINS(3)

NAME
     delloins - delete a logical instance

SYNOPSIS
     #include "mlo.h"
     int delloins(ptfig, insname)
     lofig_list *ptfig;
     char *insname;

PARAMETERS
     ptfig		 Pointer  to  the figure in which the instance should be
			 deleted

     insname		 Name of the instance to be deleted.

DESCRIPTION
     delloins delete the instance called insname in the figure pointed to by pt-
     fig. This instance is warrantied to be unique, because its name is an iden-
     tifier at the given hierarchical level.   The  list  consistency  is  main-
     tainded, and the space freed. The instance connectors are also freed, since
     if the instance disappear, no more connections can occur on it.

RETURN VALUE
     delloins  returns 1 if the instance has been deleted, 0 if no such instance
     exists in the list.

EXAMPLE
     #include "mlo.h"
     char *was_existing(ptfig, insname)
     lofig_list *ptfig;
     char *insname;
     {
	return delloins(ptfig, insname) ? "you just killed it!"
				      : "wasn't here anyway";
     }

SEE ALSO
     mbk(1), lofig(3), loins(3), addloins(3), getloins(3).

ASIM/LIP6			 October 1, 1997		     DELLOINS(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=delloins&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help