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

..--

READMED23-Nov-2023649 1510

demo_many_options.cD23-Nov-2023551 236

demo_number.cD23-Nov-2023693 3412

demo_scankey.cD23-Nov-20232 KiB8154

demo_utf8towc.cD23-Nov-2023889 4322

hello.cD22-Nov-2023822 3710

hostid.cD22-Nov-2023579 276

logwrapper.cD23-Nov-20232 KiB7645

skeleton.cD23-Nov-20233.3 KiB10546

README

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