Re: [xml] I/O error : Too many open files

On Mon, Feb 23, 2004 at 02:27:45PM -0800, Aleksey Sanin wrote:
Unfortunately, LibXML2 provides FILE* based API interfaces. Assuming 

  Well, there is file descriptor based ones too:
paphio:~/XML -> grep Fd include/libxml/*.h
include/libxml/HTMLparser.h:            htmlReadFd              (int fd,
include/libxml/HTMLparser.h:            htmlCtxtReadFd          (xmlParserCtxtPtr ctxt,
include/libxml/parser.h:                xmlReadFd               (int fd,
include/libxml/parser.h:                xmlCtxtReadFd           (xmlParserCtxtPtr ctxt,
include/libxml/xmlIO.h: xmlParserInputBufferCreateFd            (int fd,
include/libxml/xmlIO.h: xmlOutputBufferCreateFd         (int fd,
include/libxml/xmlreader.h:             xmlReaderForFd          (int fd,
include/libxml/xmlreader.h:             xmlReaderNewFd          (xmlTextReaderPtr reader,
paphio:~/XML ->

  use them if you have troubles with FILEs.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]