mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
11 lines
205 B
C
11 lines
205 B
C
/* Print each command line argument received, one per line. */
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv) {
|
|
size_t i;
|
|
for (i = 0; i < (size_t)argc; ++i)
|
|
printf("%s\n", argv[i]);
|
|
return 0;
|
|
}
|