Schnittstelle Reboot

Alle bekannten Unterschnittstellen:
LibC, LibC, LibCAPI, SystemB

public interface Reboot
Contains definitions related to the reboot API
Autor:
Lyor Goldstein
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final int
    Perform a hard reset now.
    static final int
    Disable reboot using Ctrl-Alt-Delete keystroke.
    static final int
    Enable reboot using Ctrl-Alt-Delete keystroke.
    static final int
     
    static final int
    Reboot system into new kernel.
    static final int
    Stop system and switch power off if possible.
    static final int
    Suspend system using software suspend.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    reboot(int cmd)
    Stops/Reboots the machine
  • Felddetails

    • RB_AUTOBOOT

      static final int RB_AUTOBOOT
      Perform a hard reset now.
      Siehe auch:
    • RB_HALT_SYSTEM

      static final int RB_HALT_SYSTEM
      Siehe auch:
    • RB_ENABLE_CAD

      static final int RB_ENABLE_CAD
      Enable reboot using Ctrl-Alt-Delete keystroke.
      Siehe auch:
    • RB_DISABLE_CAD

      static final int RB_DISABLE_CAD
      Disable reboot using Ctrl-Alt-Delete keystroke.
      Siehe auch:
    • RB_POWER_OFF

      static final int RB_POWER_OFF
      Stop system and switch power off if possible.
      Siehe auch:
    • RB_SW_SUSPEND

      static final int RB_SW_SUSPEND
      Suspend system using software suspend.
      Siehe auch:
    • RB_KEXEC

      static final int RB_KEXEC
      Reboot system into new kernel.
      Siehe auch:
  • Methodendetails

    • reboot

      int reboot(int cmd)
      Stops/Reboots the machine
      Parameter:
      cmd - The command
      Gibt zurück:
      If successful, this call never returns. Otherwise, a -1 is returned and an error is returned in the global variable errno.
      Siehe auch: