delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/31/09:11:09

Date: Sun, 31 Jan 1999 16:08:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT ludd DOT luth DOT se>
cc: DJGPP-WORKERS <djgpp-workers AT delorie DOT com>
Subject: Re: tell() and 2^31 file sizes
In-Reply-To: <199901311228.NAA08552@father.ludd.luth.se>
Message-ID: <Pine.SUN.3.91.990131160546.19083B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Sun, 31 Jan 1999, Martin Str|mberg wrote:

> What should tell() and friends return when the file pointer is beyond
> 2^31? -1? And set errno to what?

I think it should return -1 and set errno to ENOSYS.

> Do we need a _ltell() or _lltell()?

I don't know.  Do Linux and Solaris have something like that?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019