[Expat-discuss] using mmap()

Enrico Weigelt weigelt at metux.de
Thu Mar 25 05:49:10 EST 2004


* Fred L. Drake, Jr. <fdrake at acm.org> [2004-03-25 01:41:57 -0500]:

<snip>
> Expat avoids dealing with I/O at all by having the application provide the 
> data via the API.  The "xmlwf" example application does use mmap() on Unix to 
> load data for the Expat library.

Ah, seen it. XML_Parse() accepts a pointer to a buffer.
So it already works in-memory only.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT services

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
   -- DSL-Zugang ab 0 Euro. -- statische IP -- UUCP -- Hosting --
---------------------------------------------------------------------



More information about the Expat-discuss mailing list