busybox/applets/individual.c

25 lines
447 B
C
Raw Permalink Normal View History

/* Minimal wrapper to build an individual busybox applet.
*
* Copyright 2005 Rob Landley <rob@landley.net
2006-09-17 21:58:10 +05:30
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
2006-10-04 02:30:43 +05:30
const char *applet_name;
#include <stdio.h>
#include <stdlib.h>
#include "usage.h"
int main(int argc, char **argv)
{
applet_name = argv[0];
return APPLET_main(argc, argv);
}
void bb_show_usage(void)
{
fputs_stdout(APPLET_full_usage "\n");
exit(EXIT_FAILURE);
}