From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Thu, 29 Jul 2010 05:07:44 -0700 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <0522651bfa90c83ddb192a77ddaccb78@swcp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] writing to ctl using fprint and write Topicbox-Message-UUID: 44a29b80-ead6-11e9-9d60-3106f5b1d025 how is ts declared? > I'm working on some regression testing for my GSoC project and am trying > to understand why > > ctl = open(path("ctl"),ORDWR|OAPPEND); > ts = "chatty9p 1"; // or some other message > > n = fprint(ctl, ts); > > succeeds, while > > n = write(ctl,ts,sizeof(ts)); > > fails. > > Can someone explain? > > EBo --