individual.c 446 B

1234567891011121314151617181920212223242526
  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. printf(APPLET_full_usage "\n");
  19. exit(1);
  20. }