From: do <dosilasolfamiredo@o2.pl>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Capture of the returned value in cmdline
Date: Wed, 08 Feb 2006 12:56:24 +0100 [thread overview]
Message-ID: <dscm94$ovq$1@sea.gmane.org> (raw)
Hello,
Is this possible to capture value returned by the function, which
implement some command (for example do_printenv),
from commandline in u-boot and for example write it to some shell variable?
Is this also possible with standalone programs like examples/hello_world.c?
By the way, what is the usage/application of the flag argument in
command function declaration, for example:
int do_printenv(cmd_tbl_t * cmdtp, int flag, int argc, char * argv[]);
Best regards!
next reply other threads:[~2006-02-08 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 11:56 do [this message]
2006-02-09 0:43 ` [U-Boot-Users] Capture of the returned value in cmdline Wolfgang Denk
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='dscm94$ovq$1@sea.gmane.org' \
--to=dosilasolfamiredo@o2.pl \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.