diff options
author | bde <bde@FreeBSD.org> | 1996-08-28 16:58:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-08-28 16:58:34 +0000 |
commit | cf15c374b58a8977ebbc9abd6a5db0ecec82b039 (patch) | |
tree | df2a6479ae5fd8ee4c403bf2678ea0541537eb06 /share/man | |
parent | f68534c325392a29ec468b68fad7e222de0b868b (diff) | |
download | FreeBSD-src-cf15c374b58a8977ebbc9abd6a5db0ecec82b039.zip FreeBSD-src-cf15c374b58a8977ebbc9abd6a5db0ecec82b039.tar.gz |
Fixed SYNOPSIS (#includes, return types, arg names and formatting) and
a couple of other things.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/at_shutdown.9 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/share/man/man9/at_shutdown.9 b/share/man/man9/at_shutdown.9 index 47e7a44..47cae9d 100644 --- a/share/man/man9/at_shutdown.9 +++ b/share/man/man9/at_shutdown.9 @@ -23,7 +23,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: at_shutdown.9,v 1.2 1996/08/21 21:43:19 mpp Exp $ +.\" $Id: at_shutdown.9,v 1.3 1996/08/22 03:49:52 julian Exp $ .\" " .Dd August 15, 1996 .Os @@ -33,15 +33,14 @@ .Nm rm_at_shutdown .Nd ask that a function be run at shutdown. .Sh SYNOPSIS -.Fd #include <sys/reboot.h> +.Fd #include <sys/param.h> .Fd #include <sys/systm.h> +.Fd #include <sys/reboot.h> +.Ft typedef void \*(lp*bootlist_fn\*(rp\*(lpint howto, void *arg\*(rp -.Ft typedef void \*(lp*bootlist_fn\*(rp \*(lpint, void *\*(rp; - - -.Ft void +.Ft int .Fn at_shutdown "bootlist_fn func" "void *arg" "int when" -.Ft void +.Ft int .Fn rm_at_shutdown "bootlist_fn func" "void *arg" .Sh DESCRIPTION The @@ -52,7 +51,7 @@ The function .Ar func is called with the flags indicating boot type, and the opaque argument .Ar arg -when the system is shut down +when the system is shut down. .Pp If the requirement for notification is removed, then the function .Nm rm_at_shutdown @@ -75,7 +74,7 @@ will remove an entry from either queue. .Pp .Sh RETURN VALUES .Nm at_shutdown -returns an errno, 0 meaning success. +returns an error code, 0 meaning success. .Nm rm_at_shutdown returns the number of items removed (should be 0 or 1). .Sh SEE ALSO |