Query: nameindex
OS: bsd
Section: 3
Links: bsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NAMEINDEX(3) MBK UTILITY FUNCTIONS NAMEINDEX(3)NAMEnameindex - concatenate a name and index 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 *nameindex(s, i) char *s; long i;PARAMETERSs Pointer to a string t Long integerDESCRIPTIONThe 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 beeing modified. The string returned has already been put in the names dictionary by a call to namealloc(3).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).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 NAMEINDEX(3)
Related Man Pages |
---|
concatname(3) - debian |
concatname(3) - bsd |
nameindex(3) - bsd |
nameindex(3) - v7 |
nameindex(3) - posix |
Similar Topics in the Unix Linux Community |
---|
meaning of columns in the result of executing 'ls -l' |
Dynamic email attachments |
Using array in script? |
Single Liner for indexing |