Exemplo n.º 1
0
s
void genericScan(void *X, int n, size_t l)
{
	int i;
	char *c = (char *)X;

	for (i=1;i<n;i++)	
		ubop( (void *)(c+i*l),  (void *)(c+l*(i-1)) ); 
	
	c = rec_scan(c,n);
		
}
Exemplo n.º 2
0
int ufmtblk(BW *bw)
{
	if (markv(1) && bw->cursor->byte >= markb->byte && bw->cursor->byte <= markk->byte) {
		markk->end = 1;
		utomarkk(bw);
		within = 1;
		do {
			ubop(bw), uformat(bw);
		} while (bw->cursor->byte > markb->byte);
		within = 0;
		markk->end = 0;
		if (lightoff)
			unmark(bw);
		return 0;
	} else
		return uformat(bw);
}