1GETSIGNAME(3) MBK LOGICAL FUNCTIONS GETSIGNAME(3)
2
3
4
6 getsigname - choose a signal name in alias list
7
9 #include "mlo.h"
10 char ∗getsigname(ptsig)
11 losig_list ∗ptsig;
12
14 ptsig Pointer to losig_list
15
17 The getsigname function choose the higher hierachical level name of the
18 alias list of a signal. The alias list is pointer to by the NAMECHAIN
19 pointer of the losig structure, and contains zero or more names corre‐
20 sponding to the signal. Since the signal may result from a flatten,
21 instance names may be concatenated to the actual signal name.
22
24 getsigname returns the higher hierarchy level name, if ptsig->NAMECHAIN
25 is not NULL, else a name constructed with the signal INDEX is returned.
26
28 #include "mlo.h"
29 void print_signame(p)
30 losig_list ∗p;
31 {
32 fprintf(stdout, "signal name : %s\n", getsigname(p));
33 }
34
36 mbk(1), losig(3), chain(3).
37
38
39
40
41
42ASIM/LIP6 October 1, 1997 GETSIGNAME(3)