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.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
README | 4 months ago | |
demo_many_options.c | 4 months ago | |
demo_number.c | 4 months ago | |
demo_scankey.c | 4 months ago | |
demo_utf8towc.c | 4 months ago | |
hello.c | 4 months ago | |
hostid.c | 4 months ago | |
logwrapper.c | 4 months ago | |
skeleton.c | 4 months 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.