]> cvs.zerfleddert.de Git - micropolis/blame_incremental - src/tcl/compat/stdlib.h
fix fire coverage overlay by iterating over the whole map
[micropolis] / src / tcl / compat / stdlib.h
... / ...
CommitLineData
1/*
2 * stdlib.h --
3 *
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).
10 *
11 * Copyright 1991 Regents of the University of California
12 * Permission to use, copy, modify, and distribute this
13 * software and its documentation for any purpose and without
14 * fee is hereby granted, provided that the above copyright
15 * notice appears in all copies. The University of California
16 * makes no representations about the suitability of this
17 * software for any purpose. It is provided "as is" without
18 * express or implied warranty.
19 *
20 * $Header: /user6/ouster/tcl/compat/RCS/stdlib.h,v 1.3 91/12/06 10:42:05 ouster Exp $ SPRITE (Berkeley)
21 */
22
23#ifndef _STDLIB
24#define _STDLIB
25
26#include <tclInt.h>
27
28extern void abort _ANSI_ARGS_((void));
29extern double atof _ANSI_ARGS_((char *string));
30extern int atoi _ANSI_ARGS_((char *string));
31extern long atol _ANSI_ARGS_((char *string));
32extern char * calloc _ANSI_ARGS_((unsigned int numElements,
33 unsigned int size));
34extern int exit _ANSI_ARGS_((int status));
35extern int free _ANSI_ARGS_((char *blockPtr));
36extern char * getenv _ANSI_ARGS_((char *name));
37extern char * malloc _ANSI_ARGS_((unsigned int numBytes));
38extern void qsort _ANSI_ARGS_((VOID *base, int n, int size,
39 int (*compar)(CONST VOID *element1, CONST VOID
40 *element2)));
41extern char * realloc _ANSI_ARGS_((char *ptr, unsigned int numBytes));
42extern double strtod _ANSI_ARGS_((char *string, char **endPtr));
43extern long strtol _ANSI_ARGS_((char *string, char **endPtr,
44 int base));
45extern unsigned long strtoul _ANSI_ARGS_((CONST char *string,
46 char **endPtr, int base));
47
48#endif /* _STDLIB */
Impressum, Datenschutz