/*
 * a replacement for stdlib.h
 */
/****************************************************************
 * Copyright notice.						*
 * This software is copyrighted (c) 1991 by Matt Bishop and the *
 * Trustees of Dartmouth College.  All rights reserved.		*
 *								*
 * Author:	Matt Bishop					*
 * Address:	Department of Mathematics and Computer Science	*
 *		Dartmouth College				*
 *		Hanover, NH  03755-1831				*
 *		USA						*
 * telephone:	+1 603 646 3267					*
 * fax:		+1 603 646 1312					*
 * internet:	Matt.Bishop@dartmouth.edu			*
 * usenet:	...!decvax!dartvax!Matt.Bishop			*
 ****************************************************************/
/* #ifndef lint
 * static char *version = "Version GAMMA 6/31/91 Matt.Bishop@dartmouth.edu";
 * #endif
 */

#include <stdio.h>
#include <ctype.h>

/*
 * if it's ansi, these are declared elsewhere
 */
#ifndef __STDC__

/*
 * this is the LCD type; it can be coerced into anything
 * ANSI -- make this void
 */
#ifndef BASETYPE
#	define BASETYPE	char
#endif

/*
 * library functions
 */
BASETYPE *malloc();		/* allocate space for something */
BASETYPE *realloc();		/* reallocate space for something */
char *bzero();			/* fill a space with zero chars */
char *crypt();			/* hash a password */
char getopt();			/* parses command line options */
char *mktemp();			/* make a temporary file */
int atoi();			/* string to number converter */
int _flsbuf();			/* flush buffr (internal to stdio.h) */
int fclose();			/* close a stdio stream */
/*int fprintf();			/* write to a stdio stream */
/*int printf();			/* formated print function */
/*int scanf();			/* read formatted input */
int strcmp();			/* string comparison function */
int unlink();			/* delete a file */
unsigned alarm();		/* alarm clock */
void exit();			/* say goodnight, Dick! */
void perror();			/* print error message */
void qsort();			/* sort something */

/*
 * library variables
 */
extern char *optarg;		/* pointer to option argument */
extern int optind;		/* index of next argument */

#endif
