8 /**********************************************************************
10 * Hold Buffer Operations *
12 **********************************************************************/
13 char *holdbuf
, *bufend
;
16 /*---------------------------------------------------------------------
19 ---------------------------------------------------------------------*/
20 char *Kcc_buffalloc(len
)
23 if ((bufp
= holdbuf
= (char *) malloc(len
)) == NULL
)
25 bufend
= holdbuf
+ len
;
29 /*---------------------------------------------------------------------
32 ---------------------------------------------------------------------*/
33 bool Kcc_append(s
, len
)
37 if (bufp
+ len
> bufend
)
40 *bufp
++ = *(u_char
*) s
++;
44 /*---------------------------------------------------------------------
47 ---------------------------------------------------------------------*/
48 void Kcc_flush(code
, ddd
, outcode
, inmode
, insi
, inso
, innj
, ingj
)
52 unsigned long *insi
, *inso
, *innj
, *ingj
;
57 Kcc_out(ddd
, holdbuf
, bufp
- holdbuf
, code
, outcode
, inmode
, insi
, inso
, innj
, ingj
);
61 /*---------------------------------------------------------------------
64 ---------------------------------------------------------------------*/
65 void Kcc_bufffree(void)