Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: joda@pdc.kth.se (Johan Danielsson)
Subject: Re: read(fd, buf, N) fails when N doesn't fit in 32 bits?
Date: 05 Apr 2002 17:33:41 +0200	[thread overview]
Message-ID: <xofofgyjh2i.fsf@ratatosk.pdc.kth.se> (raw)
In-Reply-To: 7wofgz6h17.fsf@sic.twinsun.com

Paul Eggert <eggert@twinsun.com> writes:

> I wonder whether Tru64 readv fails with errno==EINVAL if the sum of
> the buffer lengths exceeds INT_MAX.

There's a 64-bit "fixed" version of readv that you get automatically
if you include the proper header. Why there isn't an equivalent for
read is unknown to me.

/Johan


      reply	other threads:[~2002-04-05 15:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200204012205.QAA0000012227@gskc01.stowers-institute.org>
     [not found] ` <200204020013.g320DUf08044@shade.twinsun.com>
2002-04-02  9:44   ` read(fd, buf, N) fails when N doesn't fit in 32 bits? Paul Eggert
2002-04-02 13:15     ` Johan Danielsson
2002-04-02 13:42       ` Paul Eggert
2002-04-04  0:37         ` Bob Harris
2002-04-04  7:48           ` Paul Eggert
2002-04-05 15:33             ` Johan Danielsson [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox