Re: Changing argv[0] under Linux.

DervishD (raul@pleyades.net)
Tue, 14 Jan 2003 23:00:53 +0100


Hi Mark :)

> > In any event, a "whole line of text" isn't going to overrun it.
> Looking at the code, it looks to me as if argv[0] can be any size up to
> _SC_ARG_MAX, with the restraining factor being that the environment
> variables and the other arguments must fit in the same space.
> Is this not correct?

This is correct, but it is a maximum, not a minimum.

Raśl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/