www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/22/13:06:17

Message-ID: <37C08B3E.3551@TU-Berlin.DE>
Date: Sun, 22 Aug 1999 16:43:58 -0700
From: Klaus Reinhardt <K DOT Rdt AT TU-Berlin DOT DE>
X-Mailer: Mozilla 3.04Gold (Win95; I; 16bit)
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
Subject: Re: How to get both! filenames?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990822121806 DOT 6405S-100000 AT is>
Reply-To: djgpp AT delorie DOT com

> >         ls -l kopiev~1.exe
> >         -rwxr-xr-x   1 dosuser  root  6064 Aug 12 12:07 Kopie von ...
----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE start -------------------
Hello!

Thanks once more; now it works, but I don't know if my invocation
of _truename is correct, 'cause I only got help from the stat.h.
(Which doc-file should I download? I have the htms for cpp, gcc and
some others. But there are no instruction-informations and my old
turbo c++ book isn't fully compatible.)

int
main (int argc, char **argv)
{
  register int i;
  register struct pending *thispend;
...
for (i=1;i<argc;++i)    {
        if (strchr(argv[i],'~'))
                printf("\t\t%s\n",_truename(argv[i],argv[i]));
                                            ???????????????
                        }
...
  if (show_version)

ls 222\kopiev~1.exe 
                C:\G32\FILUTIL3.16\SRC\222\Kopie von RDT_MIDI.EXE

		Klaus.
----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE !end! -------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019