This is bcopy.c in view mode; [Download] [Up]
/* @(#)pd/strlib/bcopy.c 1.2 24 Oct 1990 05:19:23 */ /* * bcopy(b1, b2, n) - copy block b1 to b2 for n bytes. * * Caution: This routine does not obey the full 4.3BSD bcopy semantics, * in that overlapping moves are not handled in any particularly * interresting manner. */ bcopy(b1, b2, n) char *b1; char *b2; unsigned n; { while (n > 0) { *b2++ = *b1++; --n; } }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.