/* qb_pullup.c - "pullup" a list of qbufs */
static char *rcsid
= "$Header: /f/osi/psap/RCS/qb_pullup.c,v 7.1 91/02/22 09:36:46 mrose Interim $";
* $Header: /f/osi/psap/RCS/qb_pullup.c,v 7.1 91/02/22 09:36:46 mrose Interim $
* Revision 7.1 91/02/22 09:36:46 mrose
* Revision 7.0 89/11/23 22:13:31 mrose
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
register struct qbuf
*qb
;
#ifdef notdef /* want null-termination... */
if ((p
= qb
-> qb_forw
) -> qb_forw
== qb
)
for (p
= qb
-> qb_forw
; p
!= qb
; p
= p
-> qb_forw
)
if ((p
= (struct qbuf
*) malloc ((unsigned) (sizeof *p
+ len
+ 1)))
d
= p
-> qb_data
= p
-> qb_base
;
for (qp
= qb
-> qb_forw
; qp
!= qb
; qp
= qpp
) {
bcopy (qp
-> qb_data
, d
, qp
-> qb_len
);