GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ADDPHVIA (3)

[Include document man1/alc_contents.mac]

   addphvia    addphvia

NAME

addphvia - create a physical via

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameters
Description
Return Value
Errors
Example
See Also

SYNOPSYS






#include "mph.h"
phvia_list *addphvia(ptfig, viatype, x, y)
phfig_list *ptfig;
char viatype;
long x, y;


PARAMETERS

ptfig Pointer to the figure in which the via should be added
viatype Contact type
x, y Coordinates of the center of the via.

DESCRIPTION

addphvia creates a new via whose center is at the given coordinates, and adds it to the list of vias pointed to by ptfig->PHVIA. The new via is added in front of the list, and becomes itself the list head.
The parameters viatype, x and y fill respectivly the TYPE, XVIA and YVIA fields of the phvia structure.
For a list of valid viatypes, and details on the structure, see phvia(3).

RETURN VALUE

addphvia returns a pointer to the newly created via.

ERRORS

"*** mbk error *** illegal addphvia viatype : viatype at x, y"
The via type is not a predefined contact. For a list of legal via types, see phvia(3).

EXAMPLE






#include "mph.h"
phvia_list *via_dup(pfd, pfs) /* duplicate vias */
phfig_list *pfd, *pfs;
{
phvia_list *pv;
   for (pv = pfs->phvia; pv != NULL; pv = pv->NEXT)
      addphvia(pfd, pv->TYPE, ps->XVIA, ps->YVIA);
   return pfd->PHVIA;
}


SEE ALSO

mbk(1), phfig(3), phvia(3), delphvia(3).

[Include document man1/alc_bug_report.1]

Search for    or go to Top of page |  Section 3 |  Main Index


ASIM/LIP6 ADDPHVIA (3) October 1, 1997

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.