My "C" functions are linked into a 3rd party environment which
provides its own "main". The 3rd party source code is not accessible.
In one of these functions I'm interested in the command line
arguments - namely - those which are passed to "main" via **argv.
An additional technique may rely on extracting the full command
line , as implemented in "GetCommandLine" Win32 API.
How can either of these 2 approches be implemented in "C" Unix?