18 lines
252 B
C
18 lines
252 B
C
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <sys/wait.h>
|
|
int main(int argc, char **argv)
|
|
{
|
|
(void) argc;
|
|
(void) argv;
|
|
|
|
|
|
FILE *fp = fopen("/dev/debug", "w");
|
|
fprintf(fp, "Hello, filesystem!\n");
|
|
|
|
|
|
for(;;);
|
|
return 0;
|
|
}
|