Annotation of /trunk/mkinitrd-magellan/busybox/applets/individual.c
Parent Directory | Revision Log
Revision 816 -
(hide annotations)
(download)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 462 byte(s)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: text/plain
File size: 462 byte(s)
-updated to busybox-1.13.4
1 | niro | 532 | /* 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 | |||
8 | const char *applet_name; | ||
9 | |||
10 | #include <stdio.h> | ||
11 | #include <stdlib.h> | ||
12 | #include "usage.h" | ||
13 | |||
14 | niro | 816 | int main(int argc, char **argv) |
15 | niro | 532 | { |
16 | niro | 816 | applet_name = argv[0]; |
17 | niro | 532 | return APPLET_main(argc,argv); |
18 | } | ||
19 | |||
20 | void bb_show_usage(void) | ||
21 | { | ||
22 | niro | 816 | fputs(APPLET_full_usage "\n", stdout); |
23 | exit(EXIT_FAILURE); | ||
24 | niro | 532 | } |