Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Internet-Network
Title: main1 Download
 Description: Understand the characteristics of I/O system calls, and this performance test has an intuitive understanding of a first generation required under the subject 4kb, the 256kb, 64 MB of txt file, according to the main function of an int main (int argc, char* argv []) parameters characteristic can be designed to: if (4 = argc) {printf (" input format error! \ n" ) exit (0) } to determine the input parameters is 4 /*---------------------------------------------------------------- @ argc [0]./your program @ argc [1] is used to test the file name @ argv [2] selected mode of operation of the fopen, open or mmap mode " 1" : the standard C, I/O library functions the fopen fread the fwrite " 2" : Unix I/O function open the read the write " 3" : the open and the mmap @ in argv [3] read/fread to read the size of the number of bytes-----------------------------------------------------------------*/and finally the appropriate action according to the function
 Downloaders recently: [More information of uploader 305141127]
 To Search:
File list (Check if you may need any files):
main.c
    

CodeBus www.codebus.net