[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtrivfs/glibc questions
From: |
Moritz Schulte |
Subject: |
Re: libtrivfs/glibc questions |
Date: |
03 Jan 2001 14:04:27 +0100 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Neal H Walfield <neal@cs.uml.edu> 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 DATA.
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 silly question. I just don't understand yet how
all these things interact with each other..
Bye,
moritz
--
Moritz Schulte <moritz@chaosdorf.de> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06 B501 0841 2D7B 6F98 4199