Newsgroups: php.internals,php.windows Path: news.php.net Xref: news.php.net php.internals:43871 php.windows:29323 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81280 invoked from network); 8 May 2009 12:38:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 May 2009 12:38:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.128.187 fk-out-0910.google.com Received: from [209.85.128.187] ([209.85.128.187:20995] helo=fk-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/93-59978-8B7240A4 for ; Fri, 08 May 2009 08:38:17 -0400 Received: by fk-out-0910.google.com with SMTP id f33so594204fkf.7 for ; Fri, 08 May 2009 05:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=YfegsexInGR17/L5kQnFOJj+O3fgL+Ov/h+aJBoYDqY=; b=Y7WtqMBB5XPnsEB5Fwll9oHuLbCQhe0nkVuXrombEAH2BCJKUFcanrw8z43+7xbrKD W+dtItcy4ou1KOw/p5Yfyz5irWKCGPHaoFCdWZuH/ujYxgmIzEOrkATtNWshKAOpxOMJ iG599Ob8+5xsY6rc1BkihycjRH30XzyU8imGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=CJQhMVRrHw8k0yvar8XeS1DwaU5DnFT2x5FgLG3B6ELhoSBp3vQD8PjLFQ5/VUYDKW B6HFjEYtrMK912uBn9TK9p00nrQvSa52AIarZInzUsv2EcpIDkXNmcfY8ocCx7W6VfXl 1FZpgZUpdOeGDDO30hDSpZnLpT5XKS5Hh1hwc= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.204.59.145 with SMTP id l17mr3133122bkh.28.1241786293112; Fri, 08 May 2009 05:38:13 -0700 (PDT) In-Reply-To: <10845a340905080259x6eda2548o8ad836ce31ce7fc1@mail.gmail.com> References: <10845a340905080259x6eda2548o8ad836ce31ce7fc1@mail.gmail.com> Date: Fri, 8 May 2009 14:38:13 +0200 X-Google-Sender-Auth: 393ab1f36bfb30af Message-ID: <2dedb8a0905080538o3e6bf5caje37c79984929e988@mail.gmail.com> To: RQuadling@googlemail.com Cc: PHP internals , php-windows Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Non blocking file i/o support for win32. From: kalle@php.net (Kalle Sommer Nielsen) Hi Richard 2009/5/8 Richard Quadling : > Hi. > > Can anyone with windows knowledge take a quick look at > http://bugs.php.net/bug.php?id=47918. I'm pretty sure this IS a bug. > I'm hoping you don't say it is a documentation bug and it is something > you can fix. > > My requirement is to allow non-blocking file i/o. > > With non-win32, it seems that the fcntl() function can accept > O_NONBLOCK. This does not seem to be present on win32. fcntl() is not available on Windows aswell as O_NONBLOCK, but after some small research we could perhaps use the iocsocket() function with the FIONBIO flag to emulate O_NONBLOCK on Windows. > > > The doc for fopen() does not mention 'n' as being available (probably > for this reason). The 'n' mode was added in 5.3 RC2 by Mikko, but has not yet been documented. > > > Regards, > > Richard. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Kalle Sommer Nielsen kalle@php.net