httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabio rohrich <rostic...@yahoo.it>
Subject Open and read a file...
Date Sat, 18 Jan 2003 14:33:09 GMT
HI all, 
I have to open the requested file and manipulate the
html code (apache 1.3.x)
SO. I open the file with ap_pfopen.
Somebody knows how I can get a string (I want to check
each line). I can do it with the UNix function read()
but it doesn't sound me good. (I get the fd of the
file and after I pass it to the read () ).
So, to catch each line (and parsing each word in the
line)(I mean till the new line) in the file and to
save it in a buffer, which is the best function?

Thanks!!

______________________________________________________________________
Mio Yahoo!: personalizza Yahoo! come piace a te 
http://it.yahoo.com/mail_it/foot/?http://it.my.yahoo.com/

Mime
View raw message