News for hackers. Stuff that matters.
Re:Plan 9: The way the future was by wslh on Wednesday February 01, 2012 @08:11AM (#3537753)
> But a sound card is a complex thing that can be configured in umpteen different ways; what if the file has a different sample rate than the card is currently running at?

That's what ioctl does: http://www.manpagez.com/man/2/ioctl/

Re:Plan 9: The way the future was by haberman on Wednesday February 01, 2012 @01:06PM (#3539136)
Sure, you can use an ioctl for this. You could use some combination of ioctl()s to tunnel absolutely any API, just like you can wrap any text string in pointy brackets and call it XML.

The question is whether this is useful. In particular, once your interface requires ioctl(), you lose the benefit of easy interoperability with UNIX command-line tools.

Re:Plan 9: The way the future was by bluetech on Wednesday February 01, 2012 @11:52AM (#3538752)
Well, just below the Plan 9 sections comes this: http://catb.org/~esr/writings/taoup/html/ch20s03.html#id3016... And he's right, ioctl's can be quite tricky to operate sometimes.