repo.or.cz
/
handlervirt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
And the files that actually handler the tender phase now.
[handlervirt.git]
/
experiment6.c
blob
5b0295bace1aa8f315270bc9be8027d8fcad0dd8
1
#include <stdio.h>
2
3
int
main
() {
4
FILE
*
fd
=
fopen
(
"/mnt/netapp/bigtest"
,
"w"
);
5
6
if
(
fd
<
0
) {
7
perror
(
"fopen"
);
8
return
-
1
;
9
}
10
11
fseek
(
fd
,
1024L
*
1024L
*
1024L
,
SEEK_CUR
);
12
13
fwrite
(
"\0"
,
1
,
sizeof
(
char
),
fd
);
14
15
fclose
(
fd
);
16
return
0
;
17
}