• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

READMED22-Nov-2023639 1510

demo_human_readable.cD22-Nov-2023529 248

demo_many_options.cD22-Nov-2023551 236

demo_scankey.cD22-Nov-20232 KiB8154

demo_utf8towc.cD22-Nov-2023889 4322

hello.cD22-Nov-2023822 3710

hostid.cD22-Nov-2023579 276

skeleton.cD22-Nov-20233.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