The null termination is deleted and the string is padded with spaces. Size of each memory block Purpose Dynamicly reallocates a block of memory and returns a pointer to it after initializing the block locations to zeroes. Return value A pointer to the allocated memory block if successful, NULL otherwise.
Description Operates in a manner similar to calloc .
HDcalloc calls HDmalloc and HDmemset , saving the calling routine the necessity of doing this. Description HDerr is a replacement for DFIerr in HDF version 3.1 and earlier versions. Return value Returns a pointer to the C string if successful and NULL otherwise. HDf2cstring deletes the trailing spaces in the Fortran-77 string. The user must deallocate the memory space of this string.