Re: fetching IOV_MAX

Samuel Thibault <[email protected]> Tue, 21 Jul 2026 10:17:47 +0200
Newsgroups gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <al8rK0Z2-vqQXQxv@end>
Hello,

Martin-Éric Racine, le mar. 21 juil. 2026 10:50:36 +0300, a ecrit:
> The Hurd porting guidelines don't show any example for using sysconf()
> to fetch IOV_MAX and friends.

sysconf is usually not actually useful to get a value for IOV_MAX,
it will just return -1, there is really no limitation on the I/O vector
size. Just putting an arbitrary limit when undefined is really fine enough.

Samuel