3
0

individual.c 448 B

123456789101112131415161718192021222324
  1. /* Minimal wrapper to build an individual busybox applet.
  2. *
  3. * Copyright 2005 Rob Landley <rob@landley.net
  4. *
  5. * Licensed under GPLv2, see file LICENSE in this source tree.
  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. }