individual.c 462 B

123456789101112131415161718192021222324
  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. #include "usage.h"
  11. int main(int argc, char **argv)
  12. {
  13. applet_name = argv[0];
  14. return APPLET_main(argc,argv);
  15. }
  16. void bb_show_usage(void)
  17. {
  18. fputs(APPLET_full_usage "\n", stdout);
  19. exit(EXIT_FAILURE);
  20. }