summaryrefslogtreecommitdiff
path: root/init/halt.c
blob: 7f3ccf9667cfd733775d49222f981db3465b96ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "internal.h"
#include <signal.h>

const char	halt_usage[] = "halt\n"
"\n\t"
"\thalt the system.\n";

extern int
halt_main(struct FileInfo * i, int argc, char * * argv)
{
	return kill(1, SIGUSR1);
}