delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/21/22:57:26

X-Spam-Check-By: sourceware.org
Message-ID: <467B3A82.253FE425@dessent.net>
Date: Thu, 21 Jun 2007 19:57:06 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Socket inheritance with fork/dup2/exec
References: <200706212245 DOT l5LMjELU006807 AT chi DOT hcst DOT net> <467B040A DOT 11443EF4 AT dessent DOT net> <ba40711f0706211936r31b8c764pd42c29583b525041 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Lev Bishop wrote:

> Actually, pipe() is implemented in cygwin using win32  named pipes,
> not anonymous pipes, as I recall. But, you are right that using pipe()
> should solve this particular problem.

Hmm, that does appear to be the case.

Unless I'm mistaken anonymous pipes are just a degenerate form of named
pipes created by the system in a given namespace
(\Device\NamedPipe\Win32Pipes.$DWORD.$DWORD ?) so I guess you could say
they're all the same thing anyway.  :)

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019