* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)emptyrow.c 5.1 (Berkeley) %G%";
* emptyrow: returns true if row r of m is all zeros.
* Note that we assume the garbage at the end of the
emptyrow(m
, rows
, cols
, r
)
bot
= &m
[r
*((cols
+7)>>3)];
top
= bot
+ ((cols
-1) >> 3);