Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 15:38:14 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Dennis <dennis@etinc.com>
Cc:        hackers@freebsd.org
Subject:   Re: shutdownhook_establish() 
Message-ID:  <200005242238.PAA01632@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 24 May 2000 15:57:16 EDT." <200005241956.PAA11193@etinc.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I see references to this routing (apparently replacing at_shutdown() in
> v4.0) but compiling it into a driver results in an unresolved reference. I
> also dont see it in any of the include files.
> 
> How can this be used, and where does it live?

Use EVENTHANDLER_REGISTER; see sys/kern/kern_shutdown.c for examples.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005242238.PAA01632>