From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20091207120652.GB16320@knaagkever.ueber.net> References: <20091205031747.GA8759@nipl.net> <20091207120652.GB16320@knaagkever.ueber.net> Date: Mon, 7 Dec 2009 12:31:20 +0000 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] ideas for helpful system io functions Topicbox-Message-UUID: a9dfede6-ead5-11e9-9d60-3106f5b1d025 2009/12/7 Mechiel Lukkien : > i've attached devbuf.c and devjoin.c, as example (for inferno). [saw this just after i'd posted] that's funny - you even chose the same device character for devbuf! to be honest, your devbuf.c is almost synomous with a pipe. for buffer sizes of <64K, writes on a pipe don't block.