
/*
   Strncat
   
   See COPYLEFT.JRD.
*/
char * strncat(target, str, nbytes)
char * target;
char * str;
int nbytes;
{
  char * t = target;
  char * s = str;

  while (*t++)
	;
  t--;
  while ((--nbytes >= 0) && (*s))
	*t++ = *s++;
  *t = '\0';
  return(target);
}
