Home | History | Annotate | only in /external/toybox/toys/example
Up to higher level directory
NameDateSize
demo_many_options.c22-Oct-2020551
demo_number.c22-Oct-2020693
demo_scankey.c22-Oct-20202K
demo_utf8towc.c22-Oct-2020889
hello.c22-Oct-2020822
hostid.c22-Oct-2020579
logwrapper.c22-Oct-20202K
README22-Oct-2020649
skeleton.c22-Oct-20203.3K

README

      1 Example commands
      2 
      3 You probably don't want to deploy any of this.
      4 
      5 The hello.c and skeleton.c commands provide templates for new commands:
      6 hello.c is clean and simple, skeleton.c demonstrates the option parsing
      7 infrastructure and having multiple commands per file. When writing a new
      8 command, copying hello.c or skeleton.c to the new name may provide a good
      9 starting point. (The minimal staring point is toys/posix/false.c)
     10 
     11 The demo_* commands demonstrate infrastructure, and do regression testing.
     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