projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d7021
)
update example to use bb_ prefixed names and remove old note about config.h (since...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:43:45 +0000
(
01:43
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Apr 2005 01:43:45 +0000
(
01:43
-0000)
docs/new-applet-HOWTO.txt
patch
|
blob
|
history
diff --git
a/docs/new-applet-HOWTO.txt
b/docs/new-applet-HOWTO.txt
index 2fc95d36df4834a360ee43f01f9b1d3b6ebd8b64..605974c3a8a00d7dede2ee910e1e6a449a4c8d3f 100644
(file)
--- a/
docs/new-applet-HOWTO.txt
+++ b/
docs/new-applet-HOWTO.txt
@@
-52,10
+52,10
@@
int mu_main(int argc, char **argv)
char mu;
if ((fd = open("/dev/random", O_RDONLY)) < 0)
- perror_msg_and_die("/dev/random");
+
bb_
perror_msg_and_die("/dev/random");
if ((n = safe_read(fd, &mu, 1)) < 1)
- perror_msg_and_die("/dev/random");
+
bb_
perror_msg_and_die("/dev/random");
return mu;
}
@@
-137,11
+137,6
@@
algorithm in busybox.c and the Gods of BusyBox smite you. Yea, verily:
/* all programs below here are alphabetically "greater than" 'mu' */
-Finally, add a define for your applet to include/config.h
-
- #undef CONFIG_MU
-
-
Documentation
-------------