From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 29 Jul 2010 08:06:06 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <0522651bfa90c83ddb192a77ddaccb78@swcp.com> References: <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: 44a77240-ead6-11e9-9d60-3106f5b1d025 > n = fprint(ctl, ts); > > succeeds, while > > n = write(ctl,ts,sizeof(ts)); > > fails. sizeof(ts) == 4 or 8, depending on the arch. you wish strlen(ts). - erik