Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
CONCATNAME(3)		      MBK UTILITY FUNCTIONS		   CONCATNAME(3)

NAME
     concatname - concatenate two names with user separator

SYNOPSIS
     #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  strcat(3)  of
     the standard library, because s is not being 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).

ASIM/LIP6			 October 1, 1997		   CONCATNAME(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=concatname&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help