Add argv0 field for imgact structure - for replacing argv0 in shell

image activator
Submitted by:  Tor Egge <Tor.Egge@idi.ntnu.no>
This commit is contained in:
ache 1997-04-23 22:02:37 +00:00
parent 0ea0f813c5
commit 4edae968dd

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: imgact.h,v 1.14 1997/02/22 09:45:17 peter Exp $
*/
#ifndef _SYS_IMGACT_H_
@ -46,6 +46,7 @@ struct image_params {
char *stringp; /* current 'end' pointer of tmp strings */
int stringspace; /* space left in tmp string storage area */
int argc, envc; /* count of argument and environment strings */
char *argv0; /* Replacement for argv[0] when interpreting */
unsigned long entry_addr; /* entry address of target executable */
char vmspace_destroyed; /* flag - we've blown away original vm space */
char interpreted; /* flag - this executable is interpreted */