Subject: Re: softintr question
To: Lennart Augustsson <lennart@mail.augustsson.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 01/20/2001 18:11:52
On Sat, Jan 20, 2001 at 07:19:05PM -0500, Lennart Augustsson wrote:

 > To establish a generic softintr there is a function
 > 
 > void *softintr_establish(int level, int (*fun)(void *), void *arg)
 > 
 > What is the purpose of the int returned by the `fun'?
 > As far as I can see the return value from calling the handler
 > is always thrown away.  So using void would make more sense.

It's actually a "void" ... dunno why the manual pages claims "int".
Must be a documentation error.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>