apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [PATCH] Buffered std(in|out|err)
Date Wed, 07 Sep 2005 08:29:59 GMT
On Tue, Sep 06, 2005 at 04:42:06PM +0100, Colm MacCarthaigh wrote:
> APR doesn't seem to currently offer a buffered stdin/stdout/stderr. (Or
> am I missing something?)
> Unfortunately the lack of a buffered stdin is killing an application I'm
> porting to APR (httpd's support/logresolve.c).
> The attached patch implements some;
> 	apr_file_open_buffered_std(in|out|err)

This is limited in that it allows setting APR_BUFFERED but not 
APR_BUFFERED|APR_XTHREAD (which is the combination which would really 
match stdio behaviour); perhaps it would make sense to just have a 
variant which takes a flags parameter instead?



View raw message