TIP: Click on subject to list as thread! ANSI
echo: tech
to: Roy J. Tellason
from: Pascal Schmidt
date: 2003-12-18 01:13:26
subject: another foul up

Hi Roy! :-)

 RJT> I'm not sure how the heck the program works,  as dos doesn't provide 
 RJT> a running program with what under linux and elsewhere would be 
 RJT> argc[0],  the name it was invoked under.
DOS does provide that name, to be found in the environment just after the
last environment string, seperated by an extra 0 byte. And you mean
argv[0], not argc[0]. ;)

Ciao
Pascal

--- Msged/LNX 6.1.1
* Origin: let fun a b c d = b (c,d) in a op < 17 end 23 (1:153/401.2)
SEEN-BY: 633/267 270
@PATH: 153/401 307 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.