revert between 56095 -> 55830 in arch
[AROS.git] / workbench / c / Shutdown.c
blobd853650887701d71ec2bb5a18969a6f5de847a6d
1 /*
2 Copyright © 2008-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/tasks.h>
7 #include <proto/dos.h>
8 #include <proto/exec.h>
10 /**************************************************************************
12 NAME
13 Shutdown
15 SYNOPSIS
16 (N/A)
18 LOCATION
21 FUNCTION
22 Shut down AROS and power off the machine.
24 **************************************************************************/
27 int main(void)
29 ShutdownA(SD_ACTION_POWEROFF);
30 PutStr("Shutdown failed\n");
31 return RETURN_FAIL;