sl@0: /*
sl@0:  * stdlib.h --
sl@0:  *
sl@0:  *	Declares facilities exported by the "stdlib" portion of
sl@0:  *	the C library.  This file isn't complete in the ANSI-C
sl@0:  *	sense;  it only declares things that are needed by Tcl.
sl@0:  *	This file is needed even on many systems with their own
sl@0:  *	stdlib.h (e.g. SunOS) because not all stdlib.h files
sl@0:  *	declare all the procedures needed here (such as strtod).
sl@0:  *
sl@0:  * Copyright (c) 1991 The Regents of the University of California.
sl@0:  * Copyright (c) 1994-1998 Sun Microsystems, Inc.
sl@0:  *
sl@0:  * See the file "license.terms" for information on usage and redistribution
sl@0:  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
sl@0:  *
sl@0:  * RCS: @(#) $Id: stdlib.h,v 1.3 1999/04/16 00:46:30 stanton Exp $
sl@0:  */
sl@0: 
sl@0: #ifndef _STDLIB
sl@0: #define _STDLIB
sl@0: 
sl@0: #include "tcl.h"
sl@0: 
sl@0: extern void		abort _ANSI_ARGS_((void));
sl@0: extern double		atof _ANSI_ARGS_((CONST char *string));
sl@0: extern int		atoi _ANSI_ARGS_((CONST char *string));
sl@0: extern long		atol _ANSI_ARGS_((CONST char *string));
sl@0: extern char *		calloc _ANSI_ARGS_((unsigned int numElements,
sl@0: 			    unsigned int size));
sl@0: extern void		exit _ANSI_ARGS_((int status));
sl@0: extern int		free _ANSI_ARGS_((char *blockPtr));
sl@0: extern char *		getenv _ANSI_ARGS_((CONST char *name));
sl@0: extern char *		malloc _ANSI_ARGS_((unsigned int numBytes));
sl@0: extern void		qsort _ANSI_ARGS_((VOID *base, int n, int size,
sl@0: 			    int (*compar)(CONST VOID *element1, CONST VOID
sl@0: 			    *element2)));
sl@0: extern char *		realloc _ANSI_ARGS_((char *ptr, unsigned int numBytes));
sl@0: extern double		strtod _ANSI_ARGS_((CONST char *string, char **endPtr));
sl@0: extern long		strtol _ANSI_ARGS_((CONST char *string, char **endPtr,
sl@0: 			    int base));
sl@0: extern unsigned long	strtoul _ANSI_ARGS_((CONST char *string,
sl@0: 			    char **endPtr, int base));
sl@0: 
sl@0: #endif /* _STDLIB */