iomove/copyio in Xenix
Lance Bailey
zaphod at deepthot.UUCP
Wed Sep 11 03:26:16 AEST 1985
when i found that strrchr and strchr had replaced index and rindex respectivly
the easiest solution was a few lines such as
#ifdef XENIX
#define index strchr
#endef XENIX
if portibility is not an issue, then skip the ifdef and endef
--
4 222
4 4 2 2
4 4 2 would you say that this is a result of
44444 22 the "do-it if it feels good" generation?
4 2 -- i've got five bucks riding on it
4 2
4 22222
decvax!{utzoo|watmath}!deepthot!zaphod
(Lance Bailey @ UWO Comp Sci, London, Canada)
More information about the Comp.unix.wizards
mailing list