[gamin] Re: [RFC][PATCH] inotify 0.10.0

On Tue, 2004-09-28 at 14:39 -0700, Ray Lee wrote:

> It's just as easy to pass crap via ioctl() as write().

The ioctl() at least forces you to break up your calls into request and
argument pairs.  And as the requests are inotify-based preprocessor
defines, at least that half of the equation is impossible to mess up.

In other words, ioctl() is slightly more structured than write(), which
is utterly non-structured.

	Robert Love

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]