1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifndef lint
   8: static char *sccsid = "@(#)bcopy.c	7.3 (Berkeley) 6/7/85";
   9: #endif not lint
  10: 
  11: /* block copy from from to to, count bytes */
  12: bcopy(from, to, count)
  13: #ifdef vax
  14:     char *from, *to;
  15:     int count;
  16: {
  17: 
  18:     asm("	movc3	12(ap),*4(ap),*8(ap)");
  19: }
  20: #else
  21:     register char *from, *to;
  22:     register int count;
  23: {
  24:     while ((count--) > 0)   /* mjm */
  25:         *to++ = *from++;
  26: }
  27: #endif

Defined functions

bcopy defined in line 12; used 2 times

Defined variables

count defined in line 22; used 3 times
from defined in line 21; used 3 times
sccsid defined in line 8; never used
to defined in line 21; used 3 times
Last modified: 1985-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 818
Valid CSS Valid XHTML 1.0 Strict