From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: argv null terminated in main()?
Date: Fri, 17 Sep 2004 08:54:35 -0500 [thread overview]
Message-ID: <414AEC9B.2030807@pbl.ca> (raw)
In-Reply-To: <1095368471.23579.0.camel@localhost.localdomain>
Alan Cox wrote:
> On Iau, 2004-09-16 at 22:26, Aleksandar Milivojevic wrote:
>>The question is, after call to execve() system call, and after new image
>>is loaded, is argv (as passed to main() function of new program) NULL
>>terminated or not in Linux?
>
> Yes. execve is documented in SuS v3 which you can find on the web. See
> also info glibc which does have a lot more information on other useful
> extensions like saved argv0 copies.
Thanks for quick answer. I didn't know to which degree was Linux SuS v3
compliant, so I said better to ask ;-)
--
Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
prev parent reply other threads:[~2004-09-17 13:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-16 21:26 argv null terminated in main()? Aleksandar Milivojevic
2004-09-16 21:01 ` Alan Cox
2004-09-17 13:54 ` Aleksandar Milivojevic [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=414AEC9B.2030807@pbl.ca \
--to=amilivojevic@pbl.ca \
--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 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.