Date: Mon, 15 Nov 1999 19:06:00 +1030 (CST) From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Mark Murray <mark@grondar.za> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Kazutaka YOKOTA <yokota@FreeBSD.org>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Peter Wemm <peter@netplex.com.au>, Bruce Evans <bde@zeta.org.au> Subject: Re: cvs commit: src/sys/dev/syscons scmouse.c src/sys/i386/conf Message-ID: <XFMail.991115190600.doconnor@gsoft.com.au> In-Reply-To: <199911150828.KAA32612@gratis.grondar.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15-Nov-99 Mark Murray wrote: > > This should be an ioctl. > Yukk! "ioctls are the garbage cans of system calls" - Kirk McKusick They still work pretty well. They're 'the garbage can' because you put things that don't fit the read/write model there. > In order to use an ioctl, you need to write nasty looking code, and in > cases like this, that ends up being horrors like rndcontrol(8). One > of the nice things about UNIX is its extremely general-purpose tools, > and these one-off ioctl-drivers break that. Why not make vidcontrol deal with it? It already handles console stuff. --- 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991115190600.doconnor>