mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
migrate all
This commit is contained in:
13
userland/c/gcc_hack.c
Normal file
13
userland/c/gcc_hack.c
Normal file
@@ -0,0 +1,13 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-gcc-hack */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void) {
|
||||
int i = 1;
|
||||
int j = 1;
|
||||
i++;
|
||||
j--;
|
||||
printf("i = %d\n", i);
|
||||
printf("j = %d\n", j);
|
||||
}
|
||||
Reference in New Issue
Block a user