Created
December 7, 2020 20:41
-
-
Save deadPix3l/3821c4f257a624532aca0fc2edc4a839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> //printf | |
#include <stdlib.h> // remove() | |
#include <unistd.h> // sleep() | |
int main(int argc, char** argv) { | |
remove(argv[0]); | |
while(1) { | |
printf("running in mem only\n"); | |
sleep(2); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment