[net.unix-wizards] iomove/copyio in Xenix

boylan@dicomed.UUCP (Chris Boylan) (08/31/85)

In looking at the name list for the object files for Xenix
(on an IBM PC/AT) it appears that the iomove routine for 
copying lots of data between user and system space has been
replaced by (I think) copyio.  Does anyone out there know
enough about Xenix to be able to give me a hand?

I really would like to avoid having to use cpass for performance
reasons...

Thanks,

-- 

	Chris Boylan
	{mgnetp | ihnp4 | uwvax}!dicomed!boylan

zaphod@deepthot.UUCP (Lance Bailey) (09/10/85)

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)