1: # include   <sccs.h>
   2: 
   3: SCCSID(@(#)IIconcatv.c	8.1	12/31/84)
   4: 
   5: 
   6: /*
   7: **  IIconcatv -- concatenate strings into a buffer.
   8: **
   9: **	Parameters:
  10: **		buf -- result buffer
  11: **		args -- first of a 0 terminated series of string pointers.
  12: **
  13: **	Returns:
  14: **		a pointer to the null byte appended.
  15: **
  16: */
  17: 
  18: 
  19: char    *IIconcatv(buf, args)
  20: char    *buf;
  21: char    *args;
  22: {
  23:     register char   *p;
  24:     register char   **i;
  25:     register char   *s;
  26: 
  27:     i = &args;
  28:     p = buf;
  29:     while (s = *i++)
  30:     {
  31:         /* move the current arg over */
  32:         while (*p = *s++)
  33:             p++;
  34:     }
  35:     *p = '\0';
  36: 
  37:     return (p);
  38: }

Defined functions

IIconcatv defined in line 3; used 5 times
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 747
Valid CSS Valid XHTML 1.0 Strict