On Wed, Dec 12, 2001 at 09:46:23PM +0100, Alexander Stohr wrote:
> [phil brown wrote]
> > So allowing signed int for pagecounts, means you can allow -1 
> > as a flag for "uninitialized" or something.
> 
> a special value of zero is sufficient here.

well, yeah, pagecount=0 is fine for an error flag :-) 
But when you're talking about page INDEX, aka "page offset", 
thats another thing that should be plain signed int.
"off_t" is really only supposed to be used for DISK OFFSETS.

It even specifically says it is for disk offsets, if you do

  grep 'off_t;' /usr/include/sys/types.h

under either BSD or Solaris.

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to