#include #include #include #include main() { long long big; int fd; big = (long long)3000000000ll; if( (fd = open("crap", O_RDWR, 0666 ))<0) perror("open"); if( llseek( fd, big, SEEK_END )) perror("llseek"); close(fd); }