Contents of argv[0]
Usenet file owner
usenet at cps3xx.UUCP
Fri Aug 18 00:47:22 AEST 1989
in article <19112 at mimsy.UUCP>, chris at mimsy.UUCP (Chris Torek) says:
> Keywords: start-up code, argv specifications
> In article <10743 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>>... If you're going to display argv[0] (which is about the only meaningful
>>thing you can do with it), why not just print the whole thing.
^
+--- Counterpoint:
ex, vi, and view are all the same binary. They look at argv[0] to enough
which one to do.
Also, compress and uncompress do the same thing.
John H. Lawitzke UUCP: Work: ...uunet!frith!dale1!jhl
Dale Computer Corp., R&D Home: ...uunet!frith!dale1!ipecac!jhl
2367 Science Parkway Internet: jhl at frith.egr.msu.edu
Okemos, MI, 48864 [35.8.8.108]
More information about the Comp.lang.c
mailing list