Comment Comment by DougGwyn In fact I proposed strdup on a few occasions, but it wasn't adopted. It seems that they didn't like for standard library functions to use malloc. POSIX.1 specifies strdup. parent DougGwyn 6 years ago