Hacker News new | ask | show | jobs
by DougGwyn 2249 days ago
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.