Re: Last call: removing the INT_MAX limit on max i/o size

From: Alfred Perlstein <alfred_at_freebsd.org>
Date: Sat, 18 Feb 2012 00:43:38 -0800
* Poul-Henning Kamp <phk_at_phk.freebsd.dk> [120218 00:34] wrote:
> In message <20120218074655.GF31998_at_elvis.mu.org>, Alfred Perlstein writes:
> 
> >I always wonder if it's worth defining a type for this, resid_t or
> >something,
> 
> Wouldn't that naturally be size_t ?

I think that makes sense.  I was thinking along the lines of making
sure that functions that take a resid_t aren't actually being
passed the wrong ssize_t, but really that's probably too much fence
and just would obfuscate things.

-- 
- Alfred Perlstein
.- VMOA #5191, 03 vmax, 92 gs500, 85 ch250, 07 zx10
.- FreeBSD committer
Received on Sat Feb 18 2012 - 07:43:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC