x11r4 man page for concatname

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)

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 Universite 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 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 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.
ASIM
/LIP6 October 1, 1997 CONCATNAME(3)