1CONCATNAME(3) MBK UTILITY FUNCTIONS CONCATNAME(3)
2
3
4
6 concatname - concatenate two names with user separator
7
9 #include "mut.h"
10 char ∗concatname(s, t)
11 char ∗s, ∗t;
12
14 s Pointer to a string
15
16 t Pointer to a string
17
19 The concatname function adds the separator defined by MBK_SEPAR(1), and
20 then the string t at the end of string s. This is not like a strcat(3)
21 of the standard library, because s is not being modified. The string
22 returned has already been put in the names dictionary by a call to
23 namealloc(3).
24
26 concatname returns a pointer to a string in the name hash table.
27
29 #include "mut.h"
30 #include "mlo.h"
31 void flat_sig_alias(ptsig, insname)
32 losig_list ∗ptsig;
33 char ∗insname;
34 {
35 chain_list ∗pt;
36 for (pt = ptsig->NAMECHAIN; pt; pt = pt->NEXT)
37 pt->DATA = (void ∗)concatname(insname, (char ∗)pt->DATA);
38 }
39
41 mbk(1), namealloc(3), MBK_SEPAR(1).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 CONCATNAME(3)