mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
command_line_arguments.c: move description to readme
This commit is contained in:
@@ -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/exit0.c[]
|
||||||
** link:userland/c/exit1.c[]
|
** link:userland/c/exit1.c[]
|
||||||
** link:userland/c/exit2.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: <<qemu-user-mode-getting-started>>
|
||||||
* Standard library
|
* Standard library
|
||||||
** `assert.h`
|
** `assert.h`
|
||||||
*** link:userland/c/assert_fail.c[]
|
*** link:userland/c/assert_fail.c[]
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
/* Print each command line argument received, one per line.
|
/* https://cirosantilli.com/linux-kernel-module-cheat#c */
|
||||||
*
|
|
||||||
* Good sanity check for user mode:
|
|
||||||
* https://cirosantilli.com/linux-kernel-module-cheat#qemu-user-mode-getting-started
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user