> 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
- Re: OpenBSD's strlcpy(3) and strlcat(3) Sheldon Hearn
- Re: OpenBSD's strlcpy(3) and strlcat(3) Tim Vanderhoek
- Re: OpenBSD's strlcpy(3) and strlcat(3) Mike Smith
- Re: OpenBSD's strlcpy(3) and strlcat(3) Julian Elischer
- Re: OpenBSD's strlcpy(3) and strlcat(3) Paul Hart
- Re: OpenBSD's strlcpy(3) and strlc... Mike Smith
- Re: OpenBSD's strlcpy(3) and s... Mike Smith
- Re: OpenBSD's strlcpy(3) and s... Paul Hart
- Re: OpenBSD's strlcpy(3) a... Mike Smith
- Re: OpenBSD's strlcpy(3) a... Julian Elischer
- Re: OpenBSD's strlcpy(3) a... Mike Smith
- Re: OpenBSD's strlcpy(3) a... Warner Losh
- Re: OpenBSD's strlcpy(3) a... Mike Smith
- Re: OpenBSD's strlcpy(3) a... Warner Losh
- Re: OpenBSD's strlcpy(3) a... Mike Smith
- Re: OpenBSD's strlcpy(3) a... Warner Losh
- Re: OpenBSD's strlcpy(3) a... Valentin Nechayev
- Re: OpenBSD's strlcpy(3) and s... Warner Losh
- Re: OpenBSD's strlcpy(3) and strlcat(3) Mike Smith
- Re: OpenBSD's strlcpy(3) and strlc... Tim Vanderhoek
- Re: OpenBSD's strlcpy(3) and strlcat(3) Warner Losh