• Home
Name Date Size #Lines LOC

..--

READMED07-Sep-2024649 1510

demo_many_options.cD07-Sep-2024551 236

demo_number.cD07-Sep-2024895 4216

demo_scankey.cD07-Sep-20242 KiB8154

demo_utf8towc.cD07-Sep-2024864 4121

hello.cD07-Sep-2024880 3810

hostid.cD07-Sep-2024579 276

logwrapper.cD07-Sep-20242 KiB7645

skeleton.cD07-Sep-20243.3 KiB10646

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