Skip navigation.
Home
The QNX Community Portal

View topic - Named pipes

Named pipes

Discussion about the QNX6 OS.

Named pipes

Postby davidk2 » Mon Mar 07, 2011 11:49 am

Anyone have any experience using named pipes in QNX?

I followed this article:

http://www.cs.fredonia.edu/zubairi/s2k2 ... pipes.html

In QNX 6.5 it hangs when opening the pipe. Is there anything special about reading and writing to named pipes in QNX? Or is it just something I'm doing wrong?

David
davidk2
Active Member
 
Posts: 46
Joined: Mon Mar 03, 2008 4:06 pm

RE: Named pipes

Postby davidk2 » Mon Mar 07, 2011 12:00 pm

Turns out you need to set a few flags to get is to work: O_NOCTTY and O_NDELAY.

David
davidk2
Active Member
 
Posts: 46
Joined: Mon Mar 03, 2008 4:06 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests

cron