From: Amit Ben Shahar <amit.bens@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Why is the 'loff_t *offset' parameter in the file_operations' read function a pointer?
Date: Tue, 26 Apr 2011 14:58:00 +0300 [thread overview]
Message-ID: <BANLkTimaJFFCCQOA6=G4i95PsJK_S2bf9Q@mail.gmail.com> (raw)
(if i'm off topic or should look elsewhere i apologize - couldn't find
information anywhere)
I am coding a kernel module and implementing a file's operations, the
read operation received an loff_t *offset parameter, why is this a
pointer? is it in userspace?
next reply other threads:[~2011-04-26 11:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-26 11:58 Amit Ben Shahar [this message]
2011-04-26 12:30 ` Why is the 'loff_t *offset' parameter in the file_operations' read function a pointer? Jiri Slaby
2011-04-26 12:37 ` Arnd Bergmann
2011-04-26 12:55 ` Amit Ben Shahar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTimaJFFCCQOA6=G4i95PsJK_S2bf9Q@mail.gmail.com' \
--to=amit.bens@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).