mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
GitHub converts differently than asciidoctor... the only way to keep them consistent is to explicitly set IDs.
12 lines
222 B
C
12 lines
222 B
C
/* https://cirosantilli.com/linux-kernel-module-cheat#sleep-forever-out */
|
|
|
|
#define _XOPEN_SOURCE 700
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
|
|
int main(void) {
|
|
puts(__FILE__);
|
|
while (1)
|
|
sleep(0xFFFFFFFF);
|
|
}
|