Hi! Thursday, 10 October, 2002 Chris [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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/