Last change
on this file since 3383 was 1765, checked in by Bruno Cornec, 17 years ago |
Update to busybox 1.7.2
|
-
Property svn:eol-style
set to
native
|
File size:
446 bytes
|
Rev | Line | |
---|
[1765] | 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 |
|
---|
| 8 | const char *applet_name;
|
---|
| 9 |
|
---|
| 10 | #include <stdio.h>
|
---|
| 11 | #include <stdlib.h>
|
---|
| 12 | #include "usage.h"
|
---|
| 13 |
|
---|
| 14 | int main(int argc, char **argv)
|
---|
| 15 | {
|
---|
| 16 | applet_name = argv[0];
|
---|
| 17 |
|
---|
| 18 | return APPLET_main(argc,argv);
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | void bb_show_usage(void)
|
---|
| 22 | {
|
---|
| 23 | printf(APPLET_full_usage "\n");
|
---|
| 24 |
|
---|
| 25 | exit(1);
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.