Idris on 68k machines has a bit of a strange way to return results from the pipe...
Michael Engel @me_@sueden.social
Idris on 68k machines has a bit of a strange way to return results from the pipe(2) syscall trap – it packs the result and returns fd[1] in bits 0-15 and fd[0] in bits 16-31 of the 32 bit (big endian) result in D7.
Other 68k Unixes I checked (UniPlus, SVR1, A/UX, SunOS 4, NeXTstep) return one fd in D0 and the other in D1.
Is there another Unix-like system out there that behaves like Idris? In most other cases, Idris' behavior is close to 6th Ed. Unix.