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[] = "@(#)bitcopy.c 5.1 (Berkeley) 4/26/85";
9: #endif not lint
10:
11: /*
12: * Copy from msrc to mdest.
13: * This is done as it is because it would be much slower to do it
14: * a bit at a time.
15: */
16:
17: #include "bit.h"
18:
19: bitcopy(mdest, msrc, rows, cols)
20: bitmat mdest, msrc;
21: int rows, cols;
22: {
23: register int size = ((cols + 7) >> 3) * rows;
24: register char *p, *q;
25:
26: for (p = &mdest[size], q = &msrc[size]; p>=mdest; )
27: *--p = *--q;
28: }
Defined functions
Defined variables
sccsid
defined in line
8;
never used