Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
sramsay
6y ago
0 comments
Save
Share
strdup seems like a perfect example of "standardizing existing practice." And it has never struck me as running against the spirit of C.
0 comments
1 comments · 1 top-level
top
newest
oldest
DougGwyn
6y 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.
j
/
k
navigate · click thread line to collapse