Download VisualDSP++ 3.5 C/C++ Compiler and Library
Transcript
C/C++ Run-Time Library calloc allocate and initialize memory Synopsis #include <stdlib.h> void *calloc(size_t nmemb, size_t size); Description The calloc function dynamically allocates a range of memory and initializes all locations to zero. The number of elements (the first argument) multiplied by the size of each element (the second argument) is the total memory allocated. The memory may be deallocated with the free function. Error Conditions The calloc function returns a null pointer if unable to allocate the requested memory. Example #include <stdlib.h> int *ptr; ptr = (int *) calloc(10, sizeof(int)); /* ptr points to a zeroed array of length 10 */ See Also free, malloc, realloc VisualDSP++ 3.5 C/C++ Compiler and Library Manual for ADSP-219x DSPs 3-41
Related documents
VisualDSP 3.5 C Compiler and Library Manual for
Here - Computer Science Department
Aruba 800-E Specifications
ST200 Micro Toolset User Manual
Command and Control for ADSP-21992: template design for
20-Sim code generation for ADSP-21990 EZ-KIT
PhrozenC user guide
VisualDSP++ 3.5 Linker and Utilities Manual for 16
VisualDSP++ 5.0 Update 10
VisualDSP++ 3.0 Linker and Utilities Manual for ADSP
VisualDSP++ 3.5 Assembler and Preprocessor
ADSP-219x/2191 DSP Hardware Reference