Re: kqueue struct kevent change?

Jaromir Dolecek <[email protected]> Mon, 30 Sep 2002 19:38:05 +0200 (CEST)
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
Jason R Thorpe wrote:
> Is this so you can convey e.g. a file size > 32-bits?  If so, that might
> not really make sense, since the size for read/write syscalls are bound
> by SSIZE_MAX.

Yes, but several writes or truncate could cause the number to overflow
the 32bit number. There might be also some other filters, which could
potentially return bigger values. I'd just prefer to have the value
fixed-width, to avoid any differences in functionality for 32bit
and 64bit machines, and it make more sense to fix it at 64 bits than
on 32 bits, IMHO.

Jaromir
-- 
Jaromir Dolecek <[email protected]>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-

---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/[email protected]