httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Tatarinov <tatar...@prairie.NoDak.edu>
Subject Re: pfopen: why fopen and not open?
Date Sat, 06 Dec 1997 18:00:59 GMT
To be more specific: in http_protocol::send_fd_length(), fread() is used
to read the file, why fread?

Dean Gaudet wrote:
> 
> It uses both.  Look at buff.c.
> 
> Dean
> 
> On Sat, 6 Dec 1997, Igor Tatarinov wrote:
> 
> > I was just wondering why Apache uses the stdio interface not the
> > standard UNIX open/read/write interface.
> >
> > As I understand, stdio invloves extra data copying to an intermediate
> > buffer.
> >
> > igor
> >

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Igor Tatarinov, graduate student, Computer Science Dept, NDSU
e-mail: tatarino@prairie.nodak.edu   or   itat@acm.org
http://www.cs.ndsu.nodak.edu/~tatarino
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
View raw message