/****************************************************************************/
/* Copyright 1992 to 1996 MBARI                                             */
/****************************************************************************/
/* Summary  : string function library declarations for microcontroller      */
/* Filename : strlib.h                                                      */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon Microcontroller Applications                          */
/* Version  : 2.1                                                           */
/* Created  : 03/02/92                                                      */
/* Modified : 02/12/96                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: /usr/tiburon/.cvsroot/micro/h/strlib.h,v 1.1.1.1 1997/05/02 17:15:41 pean Exp $
 * $Log: strlib.h,v $
 * Revision 1.1.1.1  1997/05/02 17:15:41  pean
 * Initial release of the microcontroller software after Tiburon
 * Moolpool Dive to test IView, Lapboxes, modified Power can
 * GF/5V using bus capacitance mode.
 *
 * Revision 1.1  92/05/14  09:17:54  09:17:54  pean (Andrew Pearce 408-647-3746)
 * Initial revision
 *
*/
/****************************************************************************/

#ifndef STRLIB_H
#define STRLIB_H

#pragma varparams(strchr)

#ifndef NULL
#define NULL ((void *)0)
#endif

enum signType { DOSIGNED, UNSIGNED, SIGN };

#ifdef __STDC__                         /* ANSI C function prototypes       */

char *strchr(const char* s, int c);
size_t strlen(const unsigned char* s);

Int16  itoa( char* buffer, Nat32 num, Int16 digits, Int16 radix,
           Int16 fillchar, enum signType signT );

int atoi(const char *s);

#endif

#endif

