logo       

Re: Some design questions: msg#00055

network.bit-torrent.libtorrent

Subject: Re: Some design questions

The following snipped (seektest.c) can be illustrate:

        #include <stdio.h >

        main()
        {
            fseek(stdout, 1024*1024, SEEK_SET);
            putchar('$');
        }

compile and run as "seektest > testfile; ls -ls testfile". This will
show the file size, as well as the amount of disk space currently
allocated for the file.

I tried it on Win98, it is worked!

Ken
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise