Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A67A8DB0 for ; Fri, 12 Aug 2011 14:23:34 +0000 (UTC) Received: (qmail 34637 invoked by uid 500); 12 Aug 2011 14:23:33 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 34339 invoked by uid 500); 12 Aug 2011 14:23:32 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 34329 invoked by uid 99); 12 Aug 2011 14:23:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 14:23:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 14:23:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qrsdb-0004JJ-Ru for dev@apr.apache.org; Fri, 12 Aug 2011 07:23:03 -0700 Message-ID: <32250714.post@talk.nabble.com> Date: Fri, 12 Aug 2011 07:23:03 -0700 (PDT) From: sidinsd To: dev@apr.apache.org Subject: Re: Emulation of /dev/zero on Windows In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sid.schipper@ga.com References: <32250236.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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 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.