3 ms·
Because strdup() is not standard enough to rely on. You have to test all sorts of magic values to pull it in, then you have define it yourself for those cases w
by infradig 11y ago
Because strdup() is not standard enough to rely on. You have to test all sorts of magic values to pull it in, then you have define it yourself for those cases where it isn't defined. Why bother? Just write you own equivalent.