On Sun, Dec 19, 2010 at 09:06:31PM +0100, Rhialto wrote:
> 
> Easier: the aforementioned constant FLUSHR (and all others) can be
> defined as ((void *)1234) (for appropriate values of 1234).

FLUSHR (and FLUSHW) have to be numbers - they are bit patterns and can
be or'ed together.

> However, we don't have streams, so no streams ioctls, which makes the
> point moot, at least for the given example.

Historically (and outside netbsd) integer args are more common (and the
'cmd' can be 32 bits).


        David

-- 
David Laight: da...@l8s.co.uk

Reply via email to