/*
 * str.h by H.Kakugawa
 *
 * Copyright (C) 1996  Hirotsugu KAKUGAWA. All rights reserved.
 *
 * VFlib is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
 * to anyone for the consequences of using it or for whether it serves any
 * particular purpose or works at all, unless he says so in writing.  Refer
 * to the GNU General Public License for full details.
 *
 * Everyone is granted permission to copy, modify and redistribute
 * VFlib, but only under the conditions described in the GNU
 * General Public License.  A copy of this license is supposed to have been
 * given to you along with VFlib so you can know your rights and
 * responsibilities.  It should be in a file named COPYING.  Among other
 * things, the copyright notice and this notice must be preserved on all
 * copies. 
 */

#include "../src/config.h"

#if HAVE_MEMSET
#define bzero(b,l)      memset((char*)(b),(int)0,(l))
#define bcmp(b1,b2,l)   memcmp((char*)(b1),(char*)(b2),(l))
#define bcopy(b1,b2,l)  memmove((char*)(b2),(char*)(b1),(l))
#endif 

#if HAVE_STRCHR
#define index(s,c)      strchr((s),(c))
#endif 

/*EOF*/
