[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about gnumach...

From: Thomas Bushnell, BSG
Subject: Re: A question about gnumach...
Date: 18 Nov 2001 14:58:50 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Diego Roversi <diegor@tiscalinet.it> writes:

> Hello,
>   I was studing the gnumach sources and I found the following interface:
> routine       device_read(
>               device          : device_t;
>       sreplyport reply_port   : reply_port_t;
>       in      mode            : dev_mode_t;
>       in      recnum          : recnum_t;
>       in      bytes_wanted    : int;
>       out     data            : io_buf_ptr_t
>       );
> But I don't understand why there are two arguments: recnum and bytes_wanted.
> Only one of them is not enough? There is some documentation somewhere about
> this system call?

"recnum" says which place on the device to read.  "bytes_wanted" says
how much to read there.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]