Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2000 23:34:19 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "G. Adam Stanislav" <adam@whizkidtech.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: APJ Article 
Message-ID:  <3265.957562459@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 05 May 2000 16:07:36 CDT." <20000505160736.A228@whizkidtech.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000505160736.A228@whizkidtech.net>, "G. Adam Stanislav" writes:

>I pose a question in it (where can an assembly language program find its
>command line): If anyone knows the answer, I'd love to hear it!

You want to look in src/lib/csu for the "magic assembler" which is part
of all programs.  There you will find both the environment and the
cmd line args.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3265.957562459>