strdup or _strdup?
Which is correct? strdup is a perfectly correct POSIX function. Nevertheless, it doesn’t belong to the standard, and the ANSI C standard reserves some (broad) classes of function names for further use. Among these, there are Function names that begin with str and a lowercase letter therefore, the MS guys decided to replace strdup with … Read more