From cc8ed39b240180b58810784f844e253263594ac3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 5 Oct 1999 16:24:54 +0000 Subject: Initial revision --- halt.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 halt.c (limited to 'halt.c') diff --git a/halt.c b/halt.c new file mode 100644 index 000000000..7f3ccf966 --- /dev/null +++ b/halt.c @@ -0,0 +1,12 @@ +#include "internal.h" +#include + +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); +} -- cgit v1.2.3