tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposed addition of strcodecs(3) library - review requested



On Tue, Sep 21, 2010 at 10:05:22AM -0400, der Mouse wrote:
> I've done a lot of stdio stacking in various programs (funopen() makes
> this sort of thing relatively easy), and it is a very pleasant kind of
> API to use.

There are two issues with using funopen() for this purpose:

(1) It limits the portability of the code quite a bit.
(2) It often creates redundant buffering.

The first should be obvious. The second item is relevant for the typical
set of inplace transformations or transformations than select only parts
of the input.

Joerg


Home | Main Index | Thread Index | Old Index