delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/10/12/10:15:04

Date: Sun, 12 Oct 1997 16:14:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Should off_t become unsigned?
In-Reply-To: <199710121408.KAA24777@delorie.com>
Message-ID: <Pine.SUN.3.91.971012161213.8870E-100000@is>
MIME-Version: 1.0

On Sun, 12 Oct 1997, DJ Delorie wrote:

> POSIX.1 specifically states that "pid_t, ssize_t, and off_t shall be
> signed arithmetic types".

Then POSIX has no way to support files larger than 2GB, unless you go to 
64-bit ints, right?

I think we shouldn't be POSIX adepts on this one.  If we make it 
unsigned, what specifically would break?

- Raw text -


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