Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 10 Oct 2002 10:36:00 +0400 From: egor duda Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <46490158340.20021010103600@logos-m.ru> To: "Chris" CC: cygwin AT cygwin DOT com Subject: Re: Named pipes problem In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Thursday, 10 October, 2002 Chris mtp500 AT excite DOT com wrote: C> I have recently installed Cygwin (version 1.3.12-2) on Windows 2k (SP2) and C> have been trying to evaluate by developing some small programs. One of these C> uses named pipes. However none of the named pipes functions seem to work - C> all return -1. perror() is your friend. C> Example: C> retcode = unlink ("aPipe"); if (retcode) perror("unlink"); C> retcode = mknod ("aPipe", S_IFIFO, 0); if (retcode) perror("mknod"); C> retcode = chmod ("aPipe", 0660); if (retcode) perror("chmod"); C> fd = open ("aPipe", O_RDONLY); if (fd < 0) perror("open"); C> return code for all functions is -1. prints: unlink: No such file or directory mknod: Function not implemented chmod: No such file or directory open: No such file or directory which should be sufficient to answer your question. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- 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/