Home | History | Annotate | only in /external/toybox/toys/example
Up to higher level directory
NameDateSize
demo_human_readable.c21-Aug-2018529
demo_many_options.c21-Aug-2018551
demo_scankey.c21-Aug-20182K
demo_utf8towc.c21-Aug-2018889
hello.c21-Aug-2018822
hostid.c21-Aug-2018579
README21-Aug-2018639
skeleton.c21-Aug-20183.4K

README

      1 Example commands
      2 
      3 You probably don't want to deploy this, but it shows how to use the
      4 toybox infrastructure and provides templates for new commands.
      5 
      6 The hello.c and skeleton.c commands provide templates: hello.c is clean and
      7 simple, skeleton.c demonstrates the option parsing infrastructure and having
      8 multiple commands per file. When writing a new command, copying hello.c or
      9 skeleton.c to the new name may provide a good starting point.
     10 
     11 The demo_* commands demonstrate infrastructure.
     12 
     13 Other 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