9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fseek
Date: Fri, 25 Apr 2003 10:40:17 +0000	[thread overview]
Message-ID: <3EA059B1.9633422F@null.net> (raw)
In-Reply-To: <f830bc8332481b11a347582cb66a8d41@plan9.bell-labs.com>

David Presotto wrote:
> To handle 64 bit offsets, the following are now defined:
> extern int fseeko(FILE *, off_t, int);
> extern off_t ftello(FILE *);

Hopefully you also have the standard fgetpos, fsetpos.
You're free to typedef fpos_t as long long.

I don't argue against fseeko since it might be more
convenient than making separate fgetpos and fsetpos
calls for relative positioning.  It's not obvious to
me that ftello is needed.


      reply	other threads:[~2003-04-25 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 16:22 David Presotto
2003-04-25 10:40 ` Douglas A. Gwyn [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=3EA059B1.9633422F@null.net \
    --to=dagwyn@null.net \
    --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).