c语言基础: calloc
函数名: calloc
函数原型:void* calloc(unsigned int num,unsigned int size);
#define XCALLOC(x,size) calloc(1,size)
#define XCALLOC(x,size) calloc(1,size)
/* Allocate new thread master. */
struct thread_master *
thread_master_create ()
{
return (struct thread_master *) XCALLOC (8,
sizeof (struct thread_master));
}
浙公网安备 33010602011771号