R
Ron Natalie
Gianni Mariani said:For the longest time C was a defacto standard. In fact even now, C was
for a longer time NOT a standard that it is a standard without any help
from a standards body.
I have been programming C since 1977. I am well aware of the history.
We've had a standard for over ten years for C. strdup is not now nor has
it ever been part of it. As a matter of fact, if you were to define a function
called strdup, you'd be in violation of the standard.