void * alloc_volume( header *hdr )
This function is called by read_volume(). The volume is 0 filled.
Use this function when your program generates new data.
Fill in required size and data type into a header struct (obtained from new_header(). Allocate data using
data = alloc_volume( hdr );
if (!data)
exit(1);
1.0 29/10-96 Ulrik Kjems 1.1 19/11-86 UK Return NULL/data pointer in stead of OK/ERR