/***************************************************************************
 *                                                                         *
 *   STRMOVE.C                                                             *
 *                                                                         *
 *   Copyright (c) 1997      Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   memmove() for strings.                                                *
 *                                                                         *
 *                                            - J. Alvrus   5/29/97        *
 *                                                                         *
 ***************************************************************************/

#include "gcomm.h"

#define FILREV "$Revision: 2 $"

CHAR *                             /*   returns copy of ptr to dest        */
strmove(                           /* move string w/overlapping src/dest   */
CHAR *dst,                         /*   destination                        */
const CHAR *src)                   /*   source                             */
{
#ifdef GCDOSP
     /* necessary because naughty galmovmem() returns void */
     memmove(dst,src,strlen(src)+1);
     return(dst);
#else
     return(memmove(dst,src,strlen(src)+1));
#endif // GCDOSP
}
