From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Improve U-Boot Porting Guide in the README
Date: Fri, 17 Jul 2009 08:23:13 -0400 [thread overview]
Message-ID: <4A606D31.1050606@ge.com> (raw)
In-Reply-To: <20090717053833.05561832E416@gemini.denx.de>
Wolfgang Denk wrote:
> Dear Brent Cook,
>
> In message <200907161744.51888.bcook@bpointsys.com> you wrote:
>> This is hilarious, though I am curious what the real-world analog to
>> 'return 0;' is :)
>
> This depends on the caller's context. In case of hobby projects it
> usually means be_happy(), show_others(), drink_beer() or the like,
> where in commercial contexts it means send_invoice_to_customer().
>
> Best regards,
>
> Wolfgang Denk
Good answer. :-D Also see the second-to-last definition:
Zero is an enigmatic value. It can mean success (fclose) or failure
(scanf). It can mean black or white. It can mean no permissions (chmod)
or all permissions (umask). It can mean now (setjmp) or later (atexit).
It can mean the beginning (lseek) or the end (read). It can mean myself
(getpgrp) or child (fork). It can mean all (kill's 1st argument) or
nothing (kill's 2nd argument). It can mean 'default' (SIG_IGN) or 'I
don't care' (waitpid) or 'try to guess' (strtol). Indeed 0 lets you talk
to God (setuid). Verily is 0 all things to all people.
-- an ancient usenet posting
Best regards,
gvb
prev parent reply other threads:[~2009-07-17 12:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 0:42 [U-Boot] [PATCH] Improve U-Boot Porting Guide in the README Jerry Van Baren
2009-07-16 19:46 ` Wolfgang Denk
2009-07-16 22:44 ` Brent Cook
2009-07-17 5:38 ` Wolfgang Denk
2009-07-17 12:23 ` Jerry Van Baren [this message]
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=4A606D31.1050606@ge.com \
--to=gerald.vanbaren@ge.com \
--cc=u-boot@lists.denx.de \
/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