Browse Source

add rt_calloc function declaration.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@87 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 years ago
parent
commit
6718379b81
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/rtthread.h

+ 1 - 0
include/rtthread.h

@@ -163,6 +163,7 @@ void rt_system_heap_init(void* begin_addr, void* end_addr);
 void* rt_malloc(rt_size_t nbytes);
 void rt_free (void *ptr);
 void* rt_realloc(void *ptr, rt_size_t nbytes);
+void *rt_calloc(rt_size_t count, rt_size_t size);
 
 #ifdef RT_USING_HOOK
 void rt_malloc_sethook(void (*hook)(void *ptr, rt_uint32_t size));