diff --git a/README.adoc b/README.adoc index 3f5c3e8..86cdb91 100644 --- a/README.adoc +++ b/README.adoc @@ -12854,7 +12854,9 @@ Programs under link:userland/c/[] are examples of https://en.wikipedia.org/wiki/ ** link:userland/c/exit0.c[] ** link:userland/c/exit1.c[] ** link:userland/c/exit2.c[] -** link:userland/c/command_line_arguments.c[] +** link:userland/c/command_line_arguments.c[]: print one command line argument per line using `argc` and `argv`. ++ +Good sanity check for user mode: <> * Standard library ** `assert.h` *** link:userland/c/assert_fail.c[] diff --git a/userland/c/command_line_arguments.c b/userland/c/command_line_arguments.c index 06a4bb5..e046ced 100644 --- a/userland/c/command_line_arguments.c +++ b/userland/c/command_line_arguments.c @@ -1,8 +1,4 @@ -/* Print each command line argument received, one per line. - * - * Good sanity check for user mode: - * https://cirosantilli.com/linux-kernel-module-cheat#qemu-user-mode-getting-started - */ +/* https://cirosantilli.com/linux-kernel-module-cheat#c */ #include