On 07/23/2012 06:18 PM, MORITA Kazutaka wrote: > Isn't it easier to understand to write directly > > new->fds = xzalloc(sizeof(struct sockfd_cache_fd) * fds_count) > > than using a macro? This is used to get the new_size too, I think this easy macro is okay. Thanks, Yuan