Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 13:13:42 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        danny@panda.hilink.com.au (Daniel O'Callaghan)
Cc:        adrian@staff.psinet.net.au, freebsd-hackers@FreeBSD.ORG
Subject:   Re: 64 bit number definitions?
Message-ID:  <199704222013.NAA26933@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.91.970422140745.10264D-100000@panda.hilink.com.au> from "Daniel O'Callaghan" at Apr 22, 97 02:10:35 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704222013.NAA26933>