individual.c 484 B

123456789101112131415161718192021222324252627
  1. /* Minimal wrapper to build an individual busybox applet.
  2. *
  3. * Copyright 2005 Rob Landley <rob@landley.net
  4. *
  5. * Licensed under GPL version 2, see file LICENSE in this tarball for details
  6. */
  7. const char *applet_name;
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. //Ok to remove? #include "bb_config.h"
  11. #include "usage.h"
  12. int main(int argc, char *argv[])
  13. {
  14. applet_name=argv[0];
  15. return APPLET_main(argc,argv);
  16. }
  17. void bb_show_usage(void)
  18. {
  19. printf(APPLET_full_usage "\n");
  20. exit(1);
  21. }