I hv to implement external merge sort using Solaris specific library functions like open(), close(), etc
- run with a specified buffer
Each buffer can store two records. For example, a specified buffer size of 10 would mean
that up to 20 words could be read into memory from the first file before processing the
second file.
The parameter block size refers to the total number of blocks that are
available for buffering records in memory. The program should read and process words from the
file, and write out runs into temporary files when the available blocks are full
i knw the concept of the external merge sort, but havent got a clue to start code.
thx