9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox rsc@plan9.bell-labs.com
Subject: [9fans] truncate syscall
Date: Mon, 10 Apr 2000 11:48:55 -0400	[thread overview]
Message-ID: <20000410154855.TTQjK_ovDTiGqaCwE3C1wvte4SpCK_LN4n21LEkkFlk@z> (raw)

  does somebody know if there is a [f]truncate syscall in Plan 9? Or it it is not
  there, may be someone could suggest the similar functionality?

There is none, and there is no way to
implement it, as 9P does not support
such a thing.  I suppose if you were
really dying to have it, you could make
wstat pay attention to the length, but
that would be a departure from the
9P definition.

Russ





             reply	other threads:[~2000-04-10 15:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-10 15:48 Russ [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-11  7:12 Bengt
2000-04-10 18:01 Tom
2000-04-10 17:59 gdb
2000-04-10 17:41 Alexander
2000-04-10 17:36 Tom
2000-04-10 17:36 Tom
2000-04-10 17:18 Tom
2000-04-10 17:00 Alexander
2000-04-10 16:51 Scott
2000-04-10 16:45 jmk
2000-04-10 16:23 gdb
2000-04-10 13:33 Roman

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=20000410154855.TTQjK_ovDTiGqaCwE3C1wvte4SpCK_LN4n21LEkkFlk@z \
    --to=9fans@9fans.net \
    /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).