> 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.                   \\  [EMAIL PROTECTED]
\\    -- Joseph Merrick           \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to