RTEMS Logo

RTEMS 4.6.2 On-Line Library


Administration Interface Manager admin_shutdown - Shutdown the system

PREV UP next Bookshelf New Chapters

4.4.1: admin_shutdown - Shutdown the system

CALLING SEQUENCE:

#include <admin.h>

int admin_shutdown(
  struct admin_args   *args[],
  size_t               nargs
);

STATUS CODES:

EINVAL
An invalid argument was passed to the function call.
EPERM
The caller does not have appropriate permission for shutting down the system.

DESCRIPTION:

The admin_shutdown function restarts the system. The args argument specifies alternate or optional behavior for the admin_shutdown function. The admin_type member of each element of the args array specifies the optional behavior to be performed. There are some admin_types values that may provoke unspecified behavior. The nargs argument specifies the length of the args array.

NOTES:

The _POSIX_ADMIN feature flag is defined to indicate this service is available.


PREV UP next Bookshelf New Chapters

Copyright © 1988-2004 OAR Corporation