GLH_SEG_SIZE
size_t slen = seg->next ? GLH_SEG_SIZE : strlen(seg->s);
len = seg->next ? GLH_SEG_SIZE : strlen(seg->s);
nbuff = (bufsize+GLH_SEG_SIZE-1) / GLH_SEG_SIZE;
*buff_size = (glh->nbusy + glh->nfree) * GLH_SEG_SIZE;
*buff_used = glh->nbusy * GLH_SEG_SIZE;
int nseg = ((n+1) + GLH_SEG_SIZE-1) / GLH_SEG_SIZE;
for(i=0,seg=glh->unused; i<nseg-1; i++,seg=seg->next, offset+=GLH_SEG_SIZE)
memcpy(seg->s, line + offset, GLH_SEG_SIZE);
for(i=0; n>0 && i<GLH_SEG_SIZE; i++,n--) {
for(i=0; dim>0 && i<GLH_SEG_SIZE; i++,dim--)
if(str->c != '\0' && ++str->posn >= GLH_SEG_SIZE) {
glh->nbuff = (buflen+GLH_SEG_SIZE-1) / GLH_SEG_SIZE;
char s[GLH_SEG_SIZE]; /* The sub-string. Beware that only the final */