git.samba.org
/
tridge
/
junkcode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
confirm results
[tridge/junkcode.git]
/
open.c
1
#include <stdlib.h>
2
#include <fcntl.h>
3
4
int main()
5
{
6
int i;
7
8
for (i=0; ; i++)
9
if (open("/dev/null", O_RDONLY) == -1) break;
10
11
printf("opened %d files\n", i);
12
sleep(100);
13
}