busybox/halt.c
1999-10-05 16:24:54 +00:00

13 lines
207 B
C

#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);
}