Question about valid read-write n.


R. Clayton (rclayton@monmouth.edu)
(no date)


  For a write or read system call, what is a valid range for the value n in
  register 3. Does this range vary for reading from a disk vs. reading from
  the terminal?

It does. For the disk, n should be a valid disk-block number. If a disk has B
blocks, the valid disk block numbers are 0 through B - 1 inclusive; a number
outside the range 0 through B - 1 exclusive is an invalid disk-block number.

For the terminal, see the message with the header "question about successful
read/write", which should be in your mailbox or at

  bluehawk.monmouth.edu/rclayton/mail-archives/f02-505/archive/0018.html



This archive was generated by hypermail 2.0b3 on Mon Dec 16 2002 - 22:00:05 EST