/***************************************************************************
 *                                                                         *
 *   STPCPY.CPP                                                            *
 *                                                                         *
 *   Copyright (c) 1987-1996 Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   This is the C++ GCOMM.LIB routine for copying a string with a maximum *
 *   destination size limit.                                               *
 *                                                                         *
 *                                 - Joe Delekto  7/30/96                  *
 *                                                                         *
 ***************************************************************************/

#include "gcommlib.h"

CHAR *                             //   returns ptr to destination buffer  
stpcpy(                            // copy a string with limit             
CHAR *dst,                         //   destination buffer                 
const CHAR *src)                   //   source buffer                      
{
     strcpy(dst,src);
     return(dst+strlen(src));
}
