Query: concatname
OS: x11r4
Section: 3
Links: x11r4 man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CONCATNAME(3) MBK UTILITY FUNCTIONS CONCATNAME(3)NAMEconcatname - concatenate two names with user separatorORIGINThis software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.frSYNOPSYS#include "mut.h" char *concatname(s, t) char *s, *t;PARAMETERSs Pointer to a string t Pointer to a stringDESCRIPTIONThe 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 str- cat(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 VALUEconcatname 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 ALSOmbk(1), namealloc(3), MBK_SEPAR(1).BUG REPORTThis tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools.ASIM/LIP6 October 1, 1997 CONCATNAME(3)