9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "rob pike, esq." <r@geekmail.cc>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] zero-length writes with rc
Date: Mon,  9 Feb 2004 16:08:13 -0800	[thread overview]
Message-ID: <bc5adabed4422d2fe63bf70aad9ecef3@google.com> (raw)
In-Reply-To: <1a832741876d72e823cec4365b9356d3@plan9.ucalgary.ca>

a direct way is
	syscall write 1 0 buf 2>/dev/null

echo -n works, too, but it's not obvious.

-rob



      parent reply	other threads:[~2004-02-10  0:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 22:12 andrey mirtchovski
2004-02-09 22:22 ` Bruce Ellis
2004-02-09 22:31   ` andrey mirtchovski
2004-02-10  0:08 ` rob pike, esq. [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc5adabed4422d2fe63bf70aad9ecef3@google.com \
    --to=r@geekmail.cc \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).