On a PC,
% ./read 0 1000000 2000This means a read operation in the program reads 2000 longword (4000 bytes) data from the device of minor number 0. The iteration of read is 1000000.
% ./write 0 1000000 2000This means a write operation in the program writes 2000 longword (8000 bytes) data into the device of minor number 0. The iteration of write is 1000000.