• Home
Name Date Size #Lines LOC

..--

READMED03-May-2024639 1510

demo_human_readable.cD03-May-2024529 248

demo_many_options.cD03-May-2024551 236

demo_scankey.cD03-May-20242 KiB8154

demo_utf8towc.cD03-May-2024889 4322

hello.cD03-May-2024822 3710

hostid.cD03-May-2024579 276

skeleton.cD03-May-20243.4 KiB10647

README

1Example commands
2
3You probably don't want to deploy this, but it shows how to use the
4toybox infrastructure and provides templates for new commands.
5
6The hello.c and skeleton.c commands provide templates: hello.c is clean and
7simple, skeleton.c demonstrates the option parsing infrastructure and having
8multiple commands per file. When writing a new command, copying hello.c or
9skeleton.c to the new name may provide a good starting point.
10
11The demo_* commands demonstrate infrastructure.
12
13Other commands in here are obsolete versions still in some recent Linux systems
14(and often still in posix), but not really useful on modern systems.
15