home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
161_01
/
stdlib.c
< prev
next >
Wrap
C/C++ Source or Header
|
1985-08-29
|
407b
|
13 lines
#include "timer1.h"
long atol();
double atof();
char *p, *calloc(), *malloc();
DO_STMT("atof(\"12345\")") atof("12345") OD
DO_STMT("atoi(\"500\")") atoi("500") OD
DO_STMT("atol(\"32123\")") atol("32123") OD
DO_STMT("p = calloc(2, 2), free(p)") p = calloc(2, 2), free(p) OD
DO_STMT("p = malloc(2), free(p)") p = malloc(2), free(p) OD
DO_STMT("rand()") rand() OD
}