> but what about > > While ( more data items) > { > copy data items onto end of buffer > if full{ > write out buffer > clear buffer, copy in rest of last item. > } > } > > > I'd certainly not want to use xxprintf() for that
This is what stdio does, funnily enough. See fwrite() etc. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msm...@freebsd.org \\ -- Joseph Merrick \\ msm...@cdrom.com To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message