! Copyright (C) 2008 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types system kernel unix math sequences io.backend.unix io.ports specialized-arrays accessors ; QUALIFIED: io.pipes SPECIALIZED-ARRAY: int IN: io.pipes.unix M: unix io.pipes:(pipe) ( -- pair ) 2 [ pipe io-error ] [ first2 [ init-fd ] bi@ io.pipes:pipe boa ] bi ;