Re: consistent ioctl for getting all net interfaces?

From: viro
Date: Sun May 23 2004 - 01:06:59 EST


On Sat, May 22, 2004 at 10:57:59PM -0700, Joshua Kwan wrote:
> On Sun, May 23, 2004 at 06:35:38AM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > ASCII is tough, let's go shopping?
> > [snip code i already have]
>
> I always found parsing files in C ugly, but I guess I have no choice
> then.

I would argue that ioctl() is inherently ugly, regardless of the language
used to call it. _And_ ioctl-based variant will actually take more code.

> Thanks anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/