/*
- * setpgid.c -- execute a command in a new process group
- * Daan De Meyer <daan.j.demeyer@gmail.com>
- * In the public domain.
+ * No copyright is claimed. This code is in the public domain; do with
+ * it what you wish.
+ *
+ * Written by Daan De Meyer <daan.j.demeyer@gmail.com>
*/
-
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
fputs(USAGE_OPTIONS, out);
fputs(_(" -f, --foregound Make a foreground process group\n"), out);
- printf(USAGE_HELP_OPTIONS(16));
+ fprintf(out, USAGE_HELP_OPTIONS(16));
- printf(USAGE_MAN_TAIL("setpgid(1)"));
+ fprintf(out, USAGE_MAN_TAIL("setpgid(1)"));
exit(EXIT_SUCCESS);
}