19 #include <grass/segment.h>
49 ncols = SEG->ncols - SEG->spill;
51 size = scols * SEG->len;
53 for (col = 0; col < ncols; col += scols) {
58 if (read(SEG->fd, buf, size) != size) {
68 buf = ((
char *)buf) +
size;
70 if ((size = SEG->spill * SEG->len)) {
75 if (read(SEG->fd, buf, size) != size) {