next up previous contents
Next: References Up: Examples Previous: Explanation of read

How to run the read and write programs

On a PC,

% ./read 0 1000000 2000
This 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.

On the other PC,
% ./write 0 1000000 2000
This 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.



Yoshiji Yasu
2002年08月06日 18時03分20秒