From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] new compilers In-reply-to: Your message of "Thu, 30 Mar 2006 10:30:29 PST." <073f792fd75a47611a51224eefc1a50e@9netics.com> From: Bakul Shah Date: Thu, 30 Mar 2006 13:00:27 -0800 Message-Id: <20060330210027.4081E294B5@mail.bitblocks.com> Topicbox-Message-UUID: 28352684-ead1-11e9-9d60-3106f5b1d025 > >> ioctl(fd, SETVOLUME, &vol); is more comfortable. I bet 20h was being facetious and is hugely enjoying this "discussion". > > ah, but how about > > echo volume 50 >/dev/audioctl > > for understandability? > > i would also add: > > import -b noisemaker /dev > echo volume 50 >/dev/audioctl > > please ioctl this! Easy! kldload noisemaker.ko noisemakercontrol volume 50 Much more comfortable! And the ioctl is happening inside the noisemakercontrol program:-) Someone needs to point out to non-plan9 people that the plan9 way is really dynamic linking + object oriented programming on steroids. But with a different calling convention and different limitations. Of course, since it uses utf8 strings as arguments, some people will want to internationalize them (how dare you force us to use an english word? We in foobarland don't say "volume").