prev up next   top/contents search

comp.lang.c FAQ list · Question 13.24

Q: I'm trying to port this old program. Why do I get ``undefined external'' errors for some library functions?


A: 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 (see also question 11.25).
bcmp
use memcmp.
bzero
use memset, with a second argument of 0.

See also questions 12.22 and 13.21.

References: PCS Sec. 11


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North