![]() |
![]()
| ![]() |
![]()
NAMEgetphcon - retrieve a physical connector See the file man1/alc_origin.1. SYNOPSIS#include "mph.h" phcon_list ∗getphcon(ptfig, conname, index) phfig_list ∗ptfig; char ∗conname; long index; PARAMETERSDESCRIPTIONgetphcon looks in the list of connectors of the physical model pointed to by ptfig for a connector identified by its conname and index. Both are needed to make sure the right connector is given back since n internally wired connectors have the same name. RETURN VALUEgetphcon returns a pointer to the given connector. ERRORS"∗∗∗ mbk error ∗∗∗ illegal getphcon connector conname.index doesn't exist in figure ptfig->NAME" No connectors match both arguments.
EXAMPLE#include "mph.h" phcon_list ∗exist(figname, conname) char ∗figname, ∗conname; { SEE ALSOmbk(1), phfig(3), phcon(3), addphcon(3), delphcon(3). See the file man1/alc_bug_report.1.
|