NAME¶
concatname - concatenate two names with user separator
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at
LIP6 laboratory of Université Pierre et Marie CURIE, in Paris,
France.
Web :
http://asim.lip6.fr/recherche/alliance/
E-mail :
alliance-users@asim.lip6.fr
SYNOPSYS¶
#include "mut.h"
char ∗concatname(s, t)
char ∗s, ∗t;
PARAMETERS¶
- s
- Pointer to a string
- t
- Pointer to a string
DESCRIPTION¶
The
concatname function adds the separator defined by
MBK_SEPAR(1), and then the string
t at the end of string
s. This is not like a
strcat(3) of the standard library, because
s is not beeing modified. The string returned has already been put in
the names dictionary by a call to
namealloc(3).
RETURN VALUE¶
concatname returns a pointer to a string in the name hash table.
EXAMPLE¶
#include "mut.h"
#include "mlo.h"
void flat_sig_alias(ptsig, insname)
losig_list ∗ptsig;
char ∗insname;
{
chain_list ∗pt;
for (pt = ptsig->NAMECHAIN; pt; pt = pt->NEXT)
pt->DATA = (void ∗)concatname(insname, (char ∗)pt->DATA);
}
SEE ALSO¶
mbk(1),
namealloc(3),
MBK_SEPAR(1).
BUG REPORT¶
This tool is under development at the
ASIM department of the
LIP6
laboratory.
We need your feedback to improve documentation and tools.