os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/compat/stdlib.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/compat/stdlib.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,45 @@
1.4 +/*
1.5 + * stdlib.h --
1.6 + *
1.7 + * Declares facilities exported by the "stdlib" portion of
1.8 + * the C library. This file isn't complete in the ANSI-C
1.9 + * sense; it only declares things that are needed by Tcl.
1.10 + * This file is needed even on many systems with their own
1.11 + * stdlib.h (e.g. SunOS) because not all stdlib.h files
1.12 + * declare all the procedures needed here (such as strtod).
1.13 + *
1.14 + * Copyright (c) 1991 The Regents of the University of California.
1.15 + * Copyright (c) 1994-1998 Sun Microsystems, Inc.
1.16 + *
1.17 + * See the file "license.terms" for information on usage and redistribution
1.18 + * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1.19 + *
1.20 + * RCS: @(#) $Id: stdlib.h,v 1.3 1999/04/16 00:46:30 stanton Exp $
1.21 + */
1.22 +
1.23 +#ifndef _STDLIB
1.24 +#define _STDLIB
1.25 +
1.26 +#include "tcl.h"
1.27 +
1.28 +extern void abort _ANSI_ARGS_((void));
1.29 +extern double atof _ANSI_ARGS_((CONST char *string));
1.30 +extern int atoi _ANSI_ARGS_((CONST char *string));
1.31 +extern long atol _ANSI_ARGS_((CONST char *string));
1.32 +extern char * calloc _ANSI_ARGS_((unsigned int numElements,
1.33 + unsigned int size));
1.34 +extern void exit _ANSI_ARGS_((int status));
1.35 +extern int free _ANSI_ARGS_((char *blockPtr));
1.36 +extern char * getenv _ANSI_ARGS_((CONST char *name));
1.37 +extern char * malloc _ANSI_ARGS_((unsigned int numBytes));
1.38 +extern void qsort _ANSI_ARGS_((VOID *base, int n, int size,
1.39 + int (*compar)(CONST VOID *element1, CONST VOID
1.40 + *element2)));
1.41 +extern char * realloc _ANSI_ARGS_((char *ptr, unsigned int numBytes));
1.42 +extern double strtod _ANSI_ARGS_((CONST char *string, char **endPtr));
1.43 +extern long strtol _ANSI_ARGS_((CONST char *string, char **endPtr,
1.44 + int base));
1.45 +extern unsigned long strtoul _ANSI_ARGS_((CONST char *string,
1.46 + char **endPtr, int base));
1.47 +
1.48 +#endif /* _STDLIB */