| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | "Chris" <mtp500 AT excite DOT com> |
| Subject: | Cannot use named pipes |
| Date: | Thu, 10 Oct 2002 01:29:31 +0200 |
| Lines: | 28 |
| Message-ID: | <ao2e4s$72u$1@main.gmane.org> |
| Reply-To: | "Chris" <mtp500 AT excite DOT com> |
| NNTP-Posting-Host: | port173.ds1-noe.adsl.cybercity.dk |
| X-Trace: | main.gmane.org 1034206172 7262 212.242.126.50 (9 Oct 2002 23:29:32 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Wed, 9 Oct 2002 23:29:32 +0000 (UTC) |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.50.4807.1700 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
Hi there,
I have recently installed Cygwin (version 1.3.12-2) on Windows 2k (SP2) and
have been trying to evaluate by developing some small programs. One of these
uses named pipes. However none of the named pipes functions seem to work -
all return -1.
Example:
retcode = unlink ("aPipe");
retcode = mknod ("aPipe", S_IFIFO, 0);
retcode = chmod ("aPipe", 0660);
fd = open ("aPipe", O_RDONLY);
return code for all functions is -1.
I have two programs, one is a writer to the named pipe and the other a
reader and even if I try to ignore the error codes the named pipe
communication doesn't work.
Has anyone seen this problem? Have I setup the environmet incorrectly (file
system is FAT32)? Or is this a known bug?
Any information on this problem would be a help.
Regards,
Chris Mulligan.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |