Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 02:44:11 -0400
From:      Coleman Kane <cokane@one.net>
To:        hackers@freebsd.org
Subject:   3dfx driver woes
Message-ID:  <20000514024411.A726@cokane.yi.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Ya know, I have been tryingto get programs to work properly with this 3dfx
driver in linux. Directly from th man page, it states that ioctl()'s will return
-1 if there is an error, putting the error no. in errno, or else they will
return zero. The 3dfx driver, written for linux returns, for a few ioctls, a
positive integer representing a non-error, data value, violating this. Well, in
freeBSD, a good deal of this stuff is handled at a higher level in the kernel,
so it is not up to the driver writer to abide by this, the return value is
already placed into errno. This basically creates the problem of compiled linux
binaries not being able to take "advantage" of this little "feature" of a
number of linux device drivers.... 

-- 
Coleman Kane
President, 
UC Free O.S. Users Group - http://pohl.ececs.uc.edu

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE5Hks6ERViMObJ880RAXn0AJ9mDu2O4N3+a1o5flIMOQLohoLD5wCeKlnU
109x4VONX8bKfaajs2aop9c=
=oMn3
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000514024411.A726>