Re: GEOM is too verbose

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Sun, 1 Aug 2004 13:27:20 +0930
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 1 Aug 2004 02:45, Maxim Sobolev wrote:
> > Hm python has ioctl support, where is the problem?
>
> Really? Anyway, I doubt that name of this ioctl is the same on the
> different unices, so that binary search is still the best from the
> portability POV.

You could always try the ioctl and fall back to a binary search if you get 
EINVAL.

- -- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBDGog5ZPcIHs/zowRAnH2AKCHiMcvN/sy/YppZeOeEOZYhZumcwCggev1
16+zzkfS7BzkJ4EzCMuhxS4=
=gTET
-----END PGP SIGNATURE-----
Received on Sun Aug 01 2004 - 01:57:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC