os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/compat/stdlib.h
First public contribution.
4 * Declares facilities exported by the "stdlib" portion of
5 * the C library. This file isn't complete in the ANSI-C
6 * sense; it only declares things that are needed by Tcl.
7 * This file is needed even on many systems with their own
8 * stdlib.h (e.g. SunOS) because not all stdlib.h files
9 * declare all the procedures needed here (such as strtod).
11 * Copyright (c) 1991 The Regents of the University of California.
12 * Copyright (c) 1994-1998 Sun Microsystems, Inc.
14 * See the file "license.terms" for information on usage and redistribution
15 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
17 * RCS: @(#) $Id: stdlib.h,v 1.3 1999/04/16 00:46:30 stanton Exp $
25 extern void abort _ANSI_ARGS_((void));
26 extern double atof _ANSI_ARGS_((CONST char *string));
27 extern int atoi _ANSI_ARGS_((CONST char *string));
28 extern long atol _ANSI_ARGS_((CONST char *string));
29 extern char * calloc _ANSI_ARGS_((unsigned int numElements,
31 extern void exit _ANSI_ARGS_((int status));
32 extern int free _ANSI_ARGS_((char *blockPtr));
33 extern char * getenv _ANSI_ARGS_((CONST char *name));
34 extern char * malloc _ANSI_ARGS_((unsigned int numBytes));
35 extern void qsort _ANSI_ARGS_((VOID *base, int n, int size,
36 int (*compar)(CONST VOID *element1, CONST VOID
38 extern char * realloc _ANSI_ARGS_((char *ptr, unsigned int numBytes));
39 extern double strtod _ANSI_ARGS_((CONST char *string, char **endPtr));
40 extern long strtol _ANSI_ARGS_((CONST char *string, char **endPtr,
42 extern unsigned long strtoul _ANSI_ARGS_((CONST char *string,
43 char **endPtr, int base));