34 lines
696 B
C
34 lines
696 B
C
|
/*
|
||
|
Title: stdlib
|
||
|
|
||
|
File: mystdlib.h
|
||
|
Purpose: ANSII C stdlib.h replacement
|
||
|
Last update: Thu May 24 1990
|
||
|
*/
|
||
|
|
||
|
|
||
|
/*
|
||
|
The SUN does not provide the ANSII C stdlib.h header file, so
|
||
|
so this file provides some of the definitions which should be
|
||
|
found there.
|
||
|
|
||
|
Note that we cannot override existing type definitions.
|
||
|
*/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* String processing functions */
|
||
|
extern double strtod(char *str, char **ptr);
|
||
|
extern double atof(char *str);
|
||
|
extern long strtol(char *str, char **ptr, int base);
|
||
|
|
||
|
|
||
|
/* Control functions */
|
||
|
extern void exit(int status);
|
||
|
|
||
|
|
||
|
/* Storage allocation */
|
||
|
extern char *malloc(unsigned size);
|
||
|
extern char *calloc(unsigned elt_count, unsigned elt_size);
|