> > > > > For whatever reason this file has only 98304 bytes. The content looks > > all right. So, the next step is to modify the client so that it can > > read > > from a file instead of the TCP stream. > > > > I am trying to write code to read from the original raw record item. > > I am not sure why you want to do this. On which task are you currently > working? > I am working on the 2nd task to modify the record-client program to read from a file if a --input=<FILE> command line option is given.
client_item record; while(fread(&record, sizeof(record), 1, input_file)) printf ("CPU=%d\n",record.cpu); Here input_file is a file provided through the command. -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel