source: rtems/doc/new_chapters/adminiface.t @ d1a859c

4.104.114.84.95
Last change on this file since d1a859c was d1a859c, checked in by Joel Sherrill <joel.sherrill@…>, on 08/25/98 at 20:54:47

Cleaned up formatting.

Added notes on background and operations sections.

Added NOTE to indicate the feature flag defined.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter Administration Interface Manager
10
11@section Introduction
12
13The administration interface manager provides a portable
14interface for some system administrative functions.
15The capabilities in this manager were defined in the POSIX
161003.1h/D3 proposed standard titled @b{Services for Reliable,
17Available, and Serviceable Systems}.
18
19The directives provided by the administration interface manager are:
20
21@itemize @bullet
22@item @code{admin_shutdown} - Shutdown the system
23@end itemize
24
25@section Background
26
27@subsection admin_args Structure
28
29@example
30put structure here
31@end example
32
33@table @b
34@item admin_type
35This field ...
36
37@table @b
38@item ADMIN_AUTOBOOT
39This field ...
40
41@item ADMIN_HALT
42This field ...
43
44@item ADMIN_FAST
45This field ...
46
47@item ADMIN_IMMEDIATE
48This field ...
49
50@item ADMIN_ALTSYSTEM
51This field ...
52
53@item ADMIN_ALTCONFIG
54This field ...
55
56@item ADMIN_SYSDUMP
57This field ...
58
59@item ADMIN_INIT
60This field ...
61
62
63@end table
64
65@item admin_data
66This field ...
67
68@end table
69
70@section Operations
71
72@section Directives
73
74This section details the administration interface manager's directives.
75A subsection is dedicated to each of this manager's directives
76and describes the calling sequence, related constants, usage,
77and status codes.
78
79@page
80@subsection admin_shutdown - Shutdown the system
81
82@subheading CALLING SEQUENCE:
83
84@ifset is-C
85@example
86int admin_shutdown(
87  struct admin_args   *args[],
88  size_t               nargs
89);
90@end example
91@end ifset
92
93@ifset is-Ada
94@end ifset
95
96@subheading STATUS CODES:
97
98@table @b
99@item EINVAL
100An invalid argument was passed to the function call.
101
102@item EPERM
103The caller does not have appropriate permission for shutting down the
104system.
105
106@end table
107
108@subheading DESCRIPTION:
109
110The @code{admin_shutdown} function restarts the system.  The
111@code{args} argument specifies alternate or optional behavior
112for the @code{admin_shutdown} function.  The @code{admin_type}
113member of each element of the @code{args} array specifies the
114optional behavior to be performed.  There are som @code{admin_types}
115values that may provoke unspecified behavior.  The @code{nargs}
116argument specifies the length of the @code{args} array.
117
118@subheading NOTES:
119
120The @code{_POSIX_ADMIN} feature flag is defined to indicate
121this service is available.
Note: See TracBrowser for help on using the repository browser.