>I'm pretty sure that it is aligned on a byte address. If you assume >any futher alignment of a "char *" pointer your code is incorrect. >Here is a correct piece of code taken from "src/usr.bin/ftp/fetch.c": Why don't we just allocate h_name separately? Is there good reason for single malloc()? itojun