mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-24 20:29:55 +00:00
28 lines
484 B
C
28 lines
484 B
C
/* Minimal wrapper to build an individual busybox applet.
|
|
*
|
|
* Copyright 2005 Rob Landley <rob@landley.net
|
|
*
|
|
* Licensed under GPL version 2, see file LICENSE in this tarball for details
|
|
*/
|
|
|
|
const char *applet_name;
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
//Ok to remove? #include "bb_config.h"
|
|
#include "usage.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
applet_name=argv[0];
|
|
|
|
return APPLET_main(argc,argv);
|
|
}
|
|
|
|
void bb_show_usage(void)
|
|
{
|
|
printf(APPLET_full_usage "\n");
|
|
|
|
exit(1);
|
|
}
|