source: MondoRescue/branches/3.2/mindi-busybox/applets/individual.c@ 3186

Last change on this file since 3186 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • Property svn:eol-style set to native
File size: 447 bytes
Line 
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
8const char *applet_name;
9
10#include <stdio.h>
11#include <stdlib.h>
12#include "usage.h"
13
14int main(int argc, char **argv)
15{
16 applet_name = argv[0];
17 return APPLET_main(argc,argv);
18}
19
20void bb_show_usage(void)
21{
22 fputs(APPLET_full_usage "\n", stdout);
23 exit(EXIT_FAILURE);
24}
Note: See TracBrowser for help on using the repository browser.