added writesize
[tridge/junkcode.git] / seek.c
1 #include <stdio.h>
2 #include <stdlib.h>
3
4 main(int argc, char *argv[])
5 {
6         int fd;
7
8         f = fopen("foo","r");
9
10         printf("seek gives %d\n", fseek(f, 0, SEEK_END));
11 }