delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Martin =?ISO-8859-1?Q?Str=C3=B6mberg?= <ams AT dexter DOT ludd DOT ltu DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: argv[0] |
Date: | Mon, 5 Dec 2011 10:19:11 +0000 (UTC) |
Organization: | Aioe.org NNTP Server |
Lines: | 10 |
Message-ID: | <jbi5qv$vv5$1@speranza.aioe.org> |
References: | <16b04d29-8317-4c7f-929c-1a22a328fa32 AT p9g2000vbb DOT googlegroups DOT com> <jbeegg$qp2$1 AT speranza DOT aioe DOT org> <dca06357-dc1d-4ede-aa9e-510e15e499b5 AT z17g2000vbe DOT googlegroups DOT com> <dca6ea34-7cf2-4abe-afc3-8a1122602ed9 AT y12g2000vba DOT googlegroups DOT com> <6719f201-2317-420d-bb38-3be66c90140b AT q9g2000yqe DOT googlegroups DOT com> <5059ad16-7787-49ef-8fb3-d9c21919a65b AT d10g2000vbf DOT googlegroups DOT com> <20af6883-aa05-4549-b820-ca0f7c80708d AT ca1g2000vbb DOT googlegroups DOT com> |
NNTP-Posting-Host: | ftvAZcRvOze4hbePWaim7g.user.speranza.aioe.org |
X-Complaints-To: | abuse AT aioe DOT org |
User-Agent: | tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u)) |
X-Notice: | Filtered by postfilter v. 0.8.2 |
Bytes: | 1353 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
RayeR <glaux AT centrum DOT cz> wrote: [A lot about finding the the absolute path from argv[0].] Have you considered fun programs that start your program with execl("/path/to/your/program", "/try/to/find/it/again", "your_arg1", "your_arg2", NULL) ? -- MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |