OK, I'm sorry you seem to have take such offense to my message, I didn't mean it to be disparaging or argumentative in any way, I'm just trying to obtain information.
Since APR does not support /dev/zero, but it does support Memory Mapping of files (see apr_mmap_create, etc.) how does it support the MAP_ANONYMOUS feature of the mmap function? Jeff Trawick wrote: > > On Fri, Aug 12, 2011 at 9:31 AM, sidinsd <[email protected]> wrote: >> >> APR is supposed to let you do UNIX things on Windows. > > APR is designed to provide a reasonable feature set which works the > same on all supported platforms. It is not designed to let you do > Unix things on Windows or vice versa. > >> Does it support >> /dev/zero? In other words if I do an apr_file_open("/dev/zero", ...) will >> I >> then get zeros when I read from that file, like I do on UNIX? > > no > >> -- >> View this message in context: >> http://old.nabble.com/Emulation-of--dev-zero-on-Windows-tp32250236p32250236.html >> Sent from the APR Dev (Apache Portable Runtime) mailing list archive at >> Nabble.com. >> >> > > > > -- > Born in Roswell... married an alien... > > -- View this message in context: http://old.nabble.com/Emulation-of--dev-zero-on-Windows-tp32250236p32250714.html Sent from the APR Dev (Apache Portable Runtime) mailing list archive at Nabble.com.
