On Wed, Jan 03, 2001 at 06:38:16PM +0100, Marcus Brinkmann wrote:
> data_len is the size of the buffer *data (note that data is a pointer to a
> buffer pointer, read: an array). You can fill up to data_len bytes in the
> buffer *data[0] to *data[data_len - 1].
Make this *data_len instead data_len
On Wed, Jan 03, 2001 at 12:51:44AM +0100, Moritz Schulte wrote:
> Hi,
>
> can anybody please explain me what this 'data_len' parameter in
> trivfs_S_io_read() trans/hello.c is for?
> Where does it come from?
data_len is the size of the buffer *data (note that data is a pointer to a
buffer pointe
Hello,
> can anybody please explain me what this 'data_len' parameter in
> trivfs_S_io_read() trans/hello.c is for?
> Where does it come from?
/* Read data from an IO object. If OFFSet is -1, read from the object
maintained file pointer. If the object is not seekable, OFFSet is
ignored.
> Sorry, i still don't understand this.
>
> If i do a normal read() on a Trivfs translator, trivfs_S_io_read in my
> translator gets called. OK. But, in the read() call, i haven't
> specified a datalen. Now, at which point does this datalen parameter
> get "created"?
>
> I guess, it's a quiet si
Neal H Walfield <[EMAIL PROTECTED]> writes:
Hi Neal,
> > can anybody please explain me what this 'data_len' parameter in
> > trivfs_S_io_read() trans/hello.c is for?
> >
> > Where does it come from?
>
> How much data is in the array DATA; this does not have to match amount
> nor the size of DAT
On Wed, Jan 03, 2001 at 00:51:44 +0100, Moritz Schulte wrote:
> If i have a trivfs translator, who exactly calls (for example)
> libtrivfs_S_io_read()?
See _generated_ file libtrivfs/ioServer.c
___
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gn
On Wed, Jan 03, 2001 at 12:51:44AM +0100, Moritz Schulte wrote:
> Hi,
>
> can anybody please explain me what this 'data_len' parameter in
> trivfs_S_io_read() trans/hello.c is for?
>
> Where does it come from?
How much data is in the array DATA; this does not have to match amount
nor the size of
Hi,
can anybody please explain me what this 'data_len' parameter in
trivfs_S_io_read() trans/hello.c is for?
Where does it come from?
And some more general questions:
If i have a trivfs translator, who exactly calls (for example)
libtrivfs_S_io_read()?
In the glibc, what does it mean if a func