GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Code cleanup
[mirrors/Programs.git]
/
c
/
fork.c
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
int test = 1;
5
int main(void) {
6
int *ptr;
7
ptr = &test;
8
if(!fork()) {
9
*ptr = 2;
10
return;
11
}
12
while(test == 1) printf("");
13
printf("lol\n");
14
}
This page took
0.168549 seconds
and
4
git commands to generate.