I came across a case where uclibc's realloc didnt allocate memory, it returned NULL. The code was only experimental, i dont think i have it now. I was just using the default uclibc options. Glenn