SIMPLE SOLUTIONS

DELPHINS(3) - Linux man page online | Library functions

Delete a physical instance.

Chapter
October 1, 1997
DELPHINS(3) MBK PHYSICAL FUNCTIONS DELPHINS(3)

NAME

delphins - delete a physical instance

SYNOPSYS

#include "mph.h" int delphins(ptfig, insname) phfig_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

delphins delete the instance called insname in the figure pointed to by ptfig. This instance is warrantied to be unique, because its name is an identifier at the given hier‐ archical level. The list consistency is maintainded, and the space freed.

RETURN VALUE

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

EXAMPLE

#include "mph.h" char ∗was_existing(ptfig, insname) phfig_list ∗ptfig; char ∗insname; { return delphins(ptfig, insname) ? "you just killed it!" : "wasn't here anyway"; }

SEE ALSO

mbk(1), phfig(3), phins(3), addphins(3), getphins(3).
ASIM/LIP6 October 1, 1997 DELPHINS(3)
This manual Reference Other manuals
delphins(3) referred by addphins(3) | getphins(3) | phins(3)
refer to addphins(3) | getphins(3) | phfig(3) | phins(3)
Download raw manual
Main page MBK PHYSICAL FUNCTIONS (+23) ASIM/LIP6 (+480) № 3 (+68044)
Go top