From owner-freebsd-hackers Tue Apr 22 13:16:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA00218 for hackers-outgoing; Tue, 22 Apr 1997 13:16:39 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA00205 for ; Tue, 22 Apr 1997 13:16:35 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA26933; Tue, 22 Apr 1997 13:13:42 -0700 From: Terry Lambert Message-Id: <199704222013.NAA26933@phaeton.artisoft.com> Subject: Re: 64 bit number definitions? To: danny@panda.hilink.com.au (Daniel O'Callaghan) Date: Tue, 22 Apr 1997 13:13:42 -0700 (MST) Cc: adrian@staff.psinet.net.au, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Daniel O'Callaghan" at Apr 22, 97 02:10:35 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > File offsets are described as off_t which is a quad_t, which is a 'long > long'. > > I don't know why off_t is not u_quad_t (unsigned long long). Man lseek and note that the sign bit is used for an error indicator. This is a problem with lseek needing both a success and a value return, and the interface not using a pointer to an off_t to do the value return. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.