21#include "local_proto.h"
23static int read_int(
int,
int *);
24static int read_off_t(
int,
off_t *);
66 if (!read_off_t(fd, &
SEG->nrows) || !read_off_t(fd, &
SEG->ncols) ||
67 !read_int(fd, &
SEG->srows) || !read_int(fd, &
SEG->scols) ||
68 !read_int(fd, &
SEG->len))
74static int read_int(
int fd,
int *n)
86static int read_off_t(
int fd,
off_t *n)
void G_warning(const char *,...) __attribute__((format(printf
int Segment_init(SEGMENT *SEG, int fd, int nseg)
Initialize segment structure.
int seg_setup(SEGMENT *SEG)
Internal use only.
SYMBOL * err(FILE *fp, SYMBOL *s, char *msg)