9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] writing to ctl using fprint and write
@ 2010-07-29 12:02 EBo
  2010-07-29 12:06 ` erik quanstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: EBo @ 2010-07-29 12:02 UTC (permalink / raw)
  To: 9Fans-list

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 --




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-07-29 23:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29 12:02 [9fans] writing to ctl using fprint and write EBo
2010-07-29 12:06 ` erik quanstrom
2010-07-29 13:21   ` EBo
2010-07-29 15:04     ` erik quanstrom
2010-07-29 15:11       ` David Leimbach
2010-07-29 23:42         ` Federico G. Benavento
2010-07-29 15:18       ` Brian L. Stuart
2010-07-29 15:27       ` EBo
2010-07-29 12:07 ` Skip Tavakkolian
2010-07-29 12:12 ` Sape Mullender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).