/***************************************************************************
 *                                                                         *
 *   ALCZER.C                                                              *
 *                                                                         *
 *   Copyright (c) 1987-1997 Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   This is the GCOMM.LIB routine for allocating memory and setting it    *
 *   all to zero before returning a pointer to the caller.                 *
 *                                                                         *
 *                                            - R. Stein   2/7/92          *
 *                                                                         *
 ***************************************************************************/

#include "gcomm.h"

#define FILREV "$Revision: 4 $"

VOID *                             /*   returns ptr to newly allocated mem */
alczer(                            /* allocate memory and zero it out      */
UINT nbytes)                       /*   requested memory size              */
{
     VOID *ptr;

     ptr=alcmem(nbytes);
     setmem(ptr,nbytes,0);
     return(ptr);
}
