bcopy and bzero on AT&T sysV

Conor P. Cahill cpcahil at virtech.uucp
Fri Jun 15 21:44:08 AEST 1990


In article <16891 at haddock.ima.isc.com> karl at haddock.ima.isc.com (Karl Heuer) writes:
>In article <1990Jun14.233837.22318 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
>>Note that memcpy is not guarranteed to handle overlapping moves, while
>>bcopy is assumed to by some programs.
>
>Despite the fact that bcopy is also not guaranteed to handle them (at least
>not in the 4.3BSD man page), and often doesn't.
>
>It's better to use the mem-functions directly rather than the b-functions,
>since the former are part of the ANSI Standard library, and since they allow

This is true if you are developing code.  However, if you are just porting
code you normally don't want to make zillions of changes when they can be
taken care of with a simple #define.

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.sys.att mailing list