From: Davide Libenzi <davidel@xmailserver.org>
To: Matthew Wilcox <willy@debian.org>
Cc: Patrick Mochel <mochel@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: kobjects, sysfs and the driver model make my head hurt
Date: Sun, 6 Jul 2003 09:42:07 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.55.0307060935140.14675@bigblue.dev.mcafeelabs.com> (raw)
In-Reply-To: <20030706163353.GU23597@parcelfarce.linux.theplanet.co.uk>
On Sun, 6 Jul 2003, Matthew Wilcox wrote:
> Why on earth does it return the value of its argument?
Maybe for the same reason 'strcpy' returns 'dest'. It allows you to use
the function in a function parameter :
obj *get(obj *o);
int rel(obj *o);
int foo(int q, obj *o);
foo(17, get(o));
rel(o);
- Davide
next prev parent reply other threads:[~2003-07-06 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-06 16:33 Matthew Wilcox
2003-07-06 16:42 ` Davide Libenzi [this message]
2003-07-06 17:03 ` James Morris
2003-07-06 17:15 ` Jeff Garzik
2003-07-07 7:05 ` Johan.Adolfsson
2003-07-06 16:46 ` Greg KH
2003-07-06 16:54 ` Jeff Garzik
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=Pine.LNX.4.55.0307060935140.14675@bigblue.dev.mcafeelabs.com \
--to=davidel@xmailserver.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.org \
--cc=willy@debian.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
all inboxes | Powered by JetHome®