[Hampshire] More deep-down difficulties...

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: [Hampshire] More deep-down difficulties...
Hi All.

I'm having a right old day of it. Another one I can't suss out :-(

I'm writing a bit of code that will be dynamically linked against libc.
And I need to work out my command-line arguments. Simple? Not for me...

The thing is - I can't just read argc/argv; I don't have them. I'm not
writing this in C.

So does anyone know how Linux communicates argc/argv to a process it runs?
Is there a call I can make or something? Is there a data area I can read?

Thanks!

Vic.