mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-04 18:06:52 +00:00
0ef64bdb40
This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
25 lines
447 B
C
25 lines
447 B
C
/* Minimal wrapper to build an individual busybox applet.
|
|
*
|
|
* Copyright 2005 Rob Landley <rob@landley.net
|
|
*
|
|
* Licensed under GPLv2, see file LICENSE in this source tree.
|
|
*/
|
|
|
|
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(APPLET_full_usage "\n", stdout);
|
|
exit(EXIT_FAILURE);
|
|
}
|