![]() |
![]()
| ![]() |
![]()
NAMEnameindex - concatenate a name and index with user separator See the file man1/alc_origin.1. SYNOPSIS#include "mut.h" char ∗nameindex(s, i) char ∗s; long i; PARAMETERSDESCRIPTIONThe nameindex function adds the separator defined by
MBK_SEPAR(1), and then the string version of i at the end of
string s. This is not like a strcat(3) of the standard
library, because s is not being modified.
RETURN VALUEnameindex returns a pointer to a string in the name hash table. EXAMPLE#include "mut.h" #include "mlo.h" void a_sig_name(ptsig) losig_list ∗ptsig; { return pt->NAMECHAIN ? (char ∗)(pt->NAMECHAIN->DATA) : nameindex("mbk_sig", pt->INDEX); } SEE ALSOmbk(1), namealloc(3), MBK_SEPAR(1). See the file man1/alc_bug_report.1.
|