1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
README Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
demo_many_options.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
demo_number.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
demo_scankey.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
demo_utf8towc.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hello.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hostid.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
logwrapper.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
skeleton.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README

Example commands

You probably don't want to deploy any of this.

The hello.c and skeleton.c commands provide templates for new commands:
hello.c is clean and simple, skeleton.c demonstrates the option parsing
infrastructure and having multiple commands per file. When writing a new
command, copying hello.c or skeleton.c to the new name may provide a good
starting point. (The minimal staring point is toys/posix/false.c)

The demo_* commands demonstrate infrastructure, and do regression testing.

Other commands in here are obsolete versions still in some recent Linux systems
(and often still in posix), but not really useful on modern systems.