I am trying to port this old program. Why do I get undefined external errors for some library functions?
C Interview Questions and Answers
(Continued from previous question...)
I am trying to port this old program. Why do I get undefined external errors for some library functions?
Some old or semistandard functions have been renamed or replaced over the years;
if you need:/you should instead:
index
use strchr.
rindex
use strrchr.
bcopy
use memmove, after interchanging the first and second arguments.
bcmp
use memcmp.
bzero
use memset, with a second argument of 0.
(Continued on next question...)
Other Interview Questions
|