Well I'm using the gcc compiler.
Thanks. I'm not sure why strdup() not being in standard C effects anything. According to the gcc API, strdup is supported in gcc. However, I'm compiling with the ansi and pedantic flags--does this somehow exclude the strdup() from being #include'd when I include string.h?
Anyways thanks for the implementation of strdup...I was afraid that I'd have to waste brain cells writing my own strdup