Re: [gccsdk] Unable to get the pipe function to work

2015-09-08 Thread Ralph Corderoy
Hi Lee, > I have yet to find any documentation on the web that defines the order > of return. The order of return after fork(2) is defined as being not determinable, i.e. correct code has to cope with either order or even simultaneous return since another CPU might be brought it to run one of

Re: [gccsdk] Unable to get the pipe function to work

2015-09-08 Thread Lee Noar
On 07/07/15 12:46, alan buckley wrote: The port I’m currently looking at uses pipe() and fork() to run a command and communicates between the main program and an external program. The main program itself fails with an invalid handle error from RISC OS, so I thought I’d just check the pipe

[gccsdk] Unable to get the pipe function to work

2015-07-07 Thread alan buckley
The port I’m currently looking at uses pipe() and fork() to run a command and communicates between the main program and an external program. The main program itself fails with an invalid handle error from RISC OS, so I thought I’d just check the pipe command and it doesn’t appear to be working.