24#include "local_proto.h"
26static int read_int(
int,
int *);
27static int read_off_t(
int,
off_t *);
69 if (!read_off_t(fd, &
SEG->nrows) || !read_off_t(fd, &
SEG->ncols) ||
70 !read_int(fd, &
SEG->srows) || !read_int(fd, &
SEG->scols) ||
71 !read_int(fd, &
SEG->len))
77static int read_int(
int fd,
int *n)
89static 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)